-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This replaces Flake8 In previous configuration: - "B" errors were supposed to be caught but flake8-bugbear was not installed so it couldn't work. - "B9" seemed to be unrequired because already taken into account with "B" - "T4" corresponds to flake8-mypy but it was not installed.
- Loading branch information
Showing
5 changed files
with
34 additions
and
31 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
target-version = "py39" | ||
exclude = [ | ||
".eggs", | ||
".tox", | ||
".venv", | ||
".cache", | ||
] | ||
|
||
[lint] | ||
extend-select = [ | ||
"E", # pycodestyle errors | ||
"F", # pyflakes | ||
"I", # isort | ||
"W", # pycodestyle warnings | ||
] | ||
ignore = [ | ||
"E501", # line too long | ||
] | ||
|
||
[lint.isort] | ||
known-first-party = ["pgtoolkit"] |
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