-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup.cfg/pre-commit-config: Add flake8 hook and config
Now that things are fixed up, add flake8. No fancy plugins, just base flake8 for now.
- Loading branch information
Showing
2 changed files
with
15 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,13 @@ | ||
[bdist_wheel] | ||
universal = 1 | ||
|
||
[flake8] | ||
max_line_length = 100 | ||
# E402: module level import not at top of file | ||
# E203: whitespace before ':' (black / flake8 disagreement) | ||
# W503: line break before binary operator (black / flake8 disagreement) | ||
ignore=E203,W503 | ||
# E402: module level import not at top of file | ||
# F405: may be undefined, or defined from star imports | ||
# F403: from .manager import *' used; unable to detect undefined names | ||
per-file-ignores = */__init__.py: F405,F403,E402 |