Skip to content
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

[Python][CI] Upgrade to latest flake8 3.7.5 in travis_lint.sh #21051

Closed
asfimport opened this issue Feb 7, 2019 · 1 comment
Closed

[Python][CI] Upgrade to latest flake8 3.7.5 in travis_lint.sh #21051

asfimport opened this issue Feb 7, 2019 · 1 comment

Comments

@asfimport
Copy link

We are currently pinned to flake8 3.5. The latest one turns up some additional warnings

C:\Users\wesmc\code\arrow (master -> origin)
(arrow-dev) λ flake8 dev\
dev\merge_arrow_pr.py:60:1: E302 expected 2 blank lines, found 1
dev\merge_arrow_pr.py:64:1: E302 expected 2 blank lines, found 1
dev\merge_arrow_pr.py:99:35: W605 invalid escape sequence '\['
dev\merge_arrow_pr.py:99:39: W605 invalid escape sequence '\]'
dev\merge_arrow_pr.py:99:43: W605 invalid escape sequence '\]'
dev\merge_arrow_pr.py:146:46: W605 invalid escape sequence '\d'
dev\merge_arrow_pr.py:454:5: F841 local variable 'e' is assigned to but never used
dev\release\changelog.py:80:25: W605 invalid escape sequence '\_'
dev\release\changelog.py:81:24: W605 invalid escape sequence '\`'
dev\release\changelog.py:82:24: W605 invalid escape sequence '\*'

C:\Users\wesmc\code\arrow (master -> origin)
(arrow-dev) λ flake8 python\
python\pyarrow\filesystem.py:388:16: F632 use ==/!= to compare str, bytes, and int literals
python\pyarrow\filesystem.py:392:18: F632 use ==/!= to compare str, bytes, and int literals

Reporter: Wes McKinney / @wesm
Assignee: Wes McKinney / @wesm

PRs and other links:

Note: This issue was originally created as ARROW-4499. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Wes McKinney / @wesm:
Issue resolved by pull request 3616
#3616

@asfimport asfimport added this to the 0.13.0 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants