-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from ayan-b/lint
TVB-2719 lint: Use same convention everywhere
- Loading branch information
Showing
6 changed files
with
89 additions
and
99 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[flake8] | ||
filename = *.py, *.pyx | ||
# E501: Line too long (82 > 79 characters) | ||
# W503: Line break occurred before a binary operator | ||
ignore = E501, W503 | ||
# E225: Missing whitespace around operator | ||
# E226: Missing whitespace around arithmetic operator | ||
# E227: Missing whitespace around bitwise or shift operator (flake8 will complain | ||
# for the pointers (treated as multiplication operator in python) and | ||
# address-of (&) operator (bitwise and operator in python)) | ||
# E266: Too many leading '#' for block comment | ||
# E402: Module level import not at top of file (flake8 treats the cimports as | ||
# non-import code and thus complains about the subsequent imports as imports not | ||
# being on the top) | ||
# E999: SyntaxError | ||
per_file_ignores = gdist.pyx: E225, E226, E227, E266, E402, E999 |
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
Oops, something went wrong.