-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1504397 [wpt PR 13875] - Enable flake8 for py3 again, a=testonly
Automatic update from web-platform-testsEnable flake8 for py3 again (#13875) This was accidentally dropped in web-platform-tests/wpt#13865. Splitting flake8.ini into two is a bit unfortunate, but after trimming to just the errors and warnings that are hit, they differ a bit. Unfortunately using `--append-config` twice doesn't work. -- wpt-commits: ba70a57943fae3d69055b1c91b083e0d46d1067d wpt-pr: 13875 UltraBlame original commit: 617ea28eb87ea4ae9e183eedac5a27a180f32046
- Loading branch information
Showing
3 changed files
with
32 additions
and
7 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,24 @@ | ||
[flake8] | ||
select = E,W,F,N | ||
# E128: continuation line under-indented for visual indent | ||
# E129: visually indented line with same indent as next logical line | ||
# E226: missing whitespace around arithmetic operator | ||
# E231: missing whitespace after ‘,’, ‘;’, or ‘:’ | ||
# E251: unexpected spaces around keyword / parameter equals | ||
# E265: block comment should start with ‘# ‘ | ||
# E302: expected 2 blank lines, found 0 | ||
# E303: too many blank lines (3) | ||
# E305: expected 2 blank lines after end of function or class | ||
# E402: module level import not at top of file | ||
# N801: class names should use CapWords convention | ||
# N802: function name should be lowercase | ||
ignore = E128,E129,E226,E231,E251,E265,E302,E303,E305,E402,N801,N802 | ||
exclude = | ||
.tox, | ||
pywebsocket, | ||
third_party, | ||
wpt, | ||
wptrunner, | ||
wptserve/docs/conf.py, | ||
wptserve/tests/functional/docroot/invalid.py | ||
max-line-length = 141 |
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