-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
STYLE: Fix linting of benchmarks #22886
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hello @MatanCohe! Thanks for submitting the PR.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks for the contribution @MatanCohe, we'll merge after all the checks complete
Codecov Report
@@ Coverage Diff @@
## master #22886 +/- ##
=======================================
Coverage 92.18% 92.18%
=======================================
Files 169 169
Lines 50830 50830
=======================================
Hits 46860 46860
Misses 3970 3970
Continue to review full report at Codecov.
|
@MatanCohe : Awesome work. Thanks! |
Fixed the following: * asv_bench/benchmarks/algorithms.py:12:5: E722 do not use bare except' * asv_bench/benchmarks/timeseries.py:1:1: F401 'warnings' imported but unused * asv_bench/benchmarks/stat_ops.py:21:9: E722 do not use bare except' * asv_bench/benchmarks/stat_ops.py:59:9: E722 do not use bare except' * asv_bench/benchmarks/pandas_vb_common.py:5:1: F401 'pandas.Panel' imported but unused * asv_bench/benchmarks/pandas_vb_common.py:12:5: E722 do not use bare except' * asv_bench/benchmarks/pandas_vb_common.py:37:9: E722 do not use bare except' * asv_bench/benchmarks/join_merge.py:32:9: E722 do not use bare except' * asv_bench/benchmarks/io/csv.py:2:1: F401 'timeit' imported but unused * asv_bench/benchmarks/io/csv.py:8:1: F401 'pandas.compat.PY2' imported but unused * asv_bench/benchmarks/io/csv.py:184:80: E501 line too long (87 > 79 characters)
git diff upstream/master -u -- "*.py" | flake8 --diff
Fixed the following:
asv_bench/benchmarks/algorithms.py:12:5: E722 do not use bare except' asv_bench/benchmarks/timeseries.py:1:1: F401 'warnings' imported but unused asv_bench/benchmarks/stat_ops.py:21:9: E722 do not use bare except' asv_bench/benchmarks/stat_ops.py:59:9: E722 do not use bare except' asv_bench/benchmarks/pandas_vb_common.py:5:1: F401 'pandas.Panel' imported but unused asv_bench/benchmarks/pandas_vb_common.py:12:5: E722 do not use bare except' asv_bench/benchmarks/pandas_vb_common.py:37:9: E722 do not use bare except' asv_bench/benchmarks/join_merge.py:32:9: E722 do not use bare except' asv_bench/benchmarks/io/csv.py:2:1: F401 'timeit' imported but unused asv_bench/benchmarks/io/csv.py:8:1: F401 'pandas.compat.PY2' imported but unused asv_bench/benchmarks/io/csv.py:184:80: E501 line too long (87 > 79 characters)