-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH Action - Review the CI action about some python flake
- Loading branch information
Showing
7 changed files
with
119 additions
and
98 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 @@ | ||
flake8 |
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 |
---|---|---|
|
@@ -28,4 +28,3 @@ def middleware(request): | |
return response | ||
|
||
return middleware | ||
|
This file was deleted.
Oops, something went wrong.
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,90 @@ | ||
[flake8] | ||
exclude = .git,*migrations* | ||
ignore = E203,E121,E122,E123,E124,E125,E126,E127,E128,E402,W503 | ||
exclude = | ||
.git, | ||
.venv/, | ||
./.venv/, | ||
vagrant_assets, | ||
qgis-app/*/migrations/, | ||
qgis-app/plugins/tests/HelloWorld/, | ||
|
||
ignore = | ||
# indentation is not a multiple of 4 | ||
E111, | ||
E114, | ||
# closing bracket | ||
E121, | ||
E122, | ||
E123, | ||
E124, | ||
E125, | ||
E126, | ||
E127, | ||
E128, | ||
E129, | ||
# continuation line unaligned for hanging indent | ||
E131, | ||
# missing whitespace | ||
E201, | ||
E202, | ||
E203, | ||
E211, | ||
E221, | ||
E222, | ||
E225, | ||
E226, | ||
E231, | ||
# multiple whitespace | ||
E241, | ||
# unexpected spaces around keyword | ||
E251, | ||
# inline comment | ||
E261, | ||
E262, | ||
# block comment | ||
E265, | ||
# too many leading # for block comment | ||
E266, | ||
# multiple spaces after keyword | ||
E271, | ||
# expected 2 blank lines, found 1 | ||
E301, | ||
E302, | ||
E303, | ||
E305, | ||
# multiple imports | ||
E401, | ||
# module not at top of file | ||
E402, | ||
# line too long | ||
E501, | ||
# bare except | ||
E722, | ||
# ambiguous variable name | ||
E741, | ||
# import not used | ||
F401, | ||
# shadowed by loop variable | ||
F402, | ||
# star imports | ||
F403, | ||
F404, | ||
F405, | ||
# dictionary key 'created_by' repeated with different values | ||
F601, | ||
# redefinition | ||
F811, | ||
# local variable not used | ||
F841, | ||
# trailing whitespace | ||
W291, | ||
# no newline at end of file | ||
W292, | ||
# blank line at end of file | ||
W391, | ||
# line break before binary operator | ||
W503, | ||
W504, | ||
# invalid escape sequence | ||
W605, | ||
|
||
max-line-length = 79 |