-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use pycodestyle for lint checks. (#2642)
* Use pycodestyle for lint checks. flake8 includes a few more useful checks, but it's annoying to only see it's output in Travis-CI results. This keeps Travis-CI and pep8speaks in sync. * Config fixup * Show issues from all patches with pep8speaks * lint in test_indexing.py * Lint adjust * blanket noqa * blanket ignore ambiguous variable name * Fix remaining lint errors
- Loading branch information
Showing
8 changed files
with
25 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
# File : .pep8speaks.yml | ||
|
||
# This should be kept in sync with the duplicate config in the [pycodestyle] | ||
# block of setup.cfg. | ||
|
||
scanner: | ||
diff_only: True # If True, errors caused by only the patch are shown | ||
diff_only: False # If True, errors caused by only the patch are shown | ||
|
||
pycodestyle: | ||
max-line-length: 79 | ||
ignore: # Errors and warnings to ignore | ||
- E402, # module level import not at top of file | ||
- E731, # do not assign a lambda expression, use a def | ||
- W503 # line break before binary operator | ||
- W504 # line break after binary operator | ||
- E402 # module level import not at top of file | ||
- E731 # do not assign a lambda expression, use a def | ||
- E741 # ambiguous variable name | ||
- W503 # line break before binary operator | ||
- W504 # line break after binary operator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters