forked from tensorflow/addons
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Used flake8 + no formatter instead of pep8 + pylint + yapf. (tensorfl…
…ow#904) * Used flake8 instead of pep8 + pylintrc. Removed formatting. * Added a separate build for flake8
- Loading branch information
1 parent
fa8e966
commit 01bef16
Showing
14 changed files
with
58 additions
and
740 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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[flake8] | ||
|
||
ignore = | ||
# defaults flake8 ignores | ||
E121,E123,E126,E226,E24,E704,W503,W504 | ||
# Function name should be lowercase | ||
N802 | ||
# lowercase ... imported as non lowercase | ||
# Useful to ignore for "import keras.backend as K" | ||
N812 | ||
# TODO: remove all the exceptions below | ||
# do not use bare 'except' | ||
E722 | ||
# Imported but unused | ||
F401 | ||
# the backslash is redundant between brackets | ||
E502 | ||
# do not assign a lambda expression, use a def | ||
E731 | ||
# local variable is assigned to but never used | ||
F841 | ||
# trailing whitespace | ||
W291 | ||
# expected 2 blank lines after class or function definition, found 1 | ||
E305 | ||
|
||
|
||
#imported but unused in __init__.py, that's ok. | ||
per-file-ignores = **/__init__.py:F401 | ||
|
||
# TODO: reduce the max line length to 90-ish | ||
max-line-length = 210 |
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
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 |
---|---|---|
@@ -1,3 +1,2 @@ | ||
pylint == 2.3.1 | ||
flake8==3.7.9 | ||
docformatter == 1.1 | ||
yapf == 0.26.0 |
Oops, something went wrong.