-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added black (code formatting) and isort (import sorting)
- Loading branch information
Showing
5 changed files
with
46 additions
and
1 deletion.
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,12 @@ | ||
[flake8] | ||
# See https://flake8.pycqa.org/en/2.5.5/warnings.html | ||
select = | ||
E # pep8 errors | ||
W # pep8 warnings | ||
F # PyFlake codes | ||
ignore = | ||
W503 # line break before binary operator (makes Flake8 work like black) | ||
W504 # line break after binary operator | ||
E203 # whitespace before ‘:’ (makes Flake8 work like black) | ||
E741 # do not use variables named ‘l’, ‘O’, or ‘I’ | ||
E501 # line too long (82 > 79 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 |
---|---|---|
|
@@ -39,6 +39,9 @@ | |
"pytest", | ||
"pytest-runner", | ||
"click", | ||
"pre-commit", | ||
"black", | ||
"isort", | ||
] | ||
|
||
setup( | ||
|