Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update flake8 to 3.6.0, prettify config
- Loading branch information
𝐢𝐁𝐮𝐠 ♦
committed
Dec 7, 2018
1 parent
6134e20
commit d093435
Showing
5 changed files
with
29 additions
and
5 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 |
---|---|---|
@@ -1,4 +1,12 @@ | ||
[flake8] | ||
ignore = F403,E402,F405,N804,N813,F401 | ||
ignore = | ||
E402, # Module-level import not at top | ||
F401, # Imported but unused | ||
F403, # from import * | ||
F405, # Same as above | ||
F841, # Local variable unused | ||
# N804, # First argument of @classmethod should be 'cls' | ||
N813, # Camel case imported as lowercase | ||
W504 # Line brak after binary operator | ||
exclude = ChatExchange/*,.idea/*,.git/*,test/*,classes/*,env/*,venv/* | ||
max-line-length = 120 |
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,12 @@ | ||
[flake8] | ||
ignore = E501,F403,E402,F405,N804,F401,N801 | ||
ignore = | ||
E402, | ||
E501, | ||
F401, | ||
F403, | ||
F405 | ||
|
||
# Disabled: | ||
# N801, # class name should use CapWords | ||
# N804 # First argument of @classmethod should be 'cls' | ||
exclude = ChatExchange/*,.idea/*,.git/* |
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,10 @@ | ||
[flake8] | ||
ignore = E501,F403,E402,F401,F405,N804,E722,E731 | ||
ignore = | ||
E402, | ||
E501, | ||
E722, # bare 'except:' | ||
E731, # assigning lambda | ||
F401, | ||
F403, | ||
F405 | ||
exclude = ChatExchange/*,.idea/*,.git/* |