gecko-dev/testing/web-platform/tests/tools/py27-flake8.ini
Geoffrey Sneddon 30164de49c Bug 1505160 [wpt PR 13953] - Update flake8 and dependencies, a=testonly
Automatic update from web-platform-testsUpdate flake8 and dependencies (#13953)

--

wpt-commits: c8c9db4b6cd6d64fc1e4b49abc681dd480ae88d9
wpt-pr: 13953
2018-11-14 13:38:01 +00:00

29 lines
1.2 KiB
INI
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[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
# E731: do not assign a lambda expression, use a def
# W504: line break after binary operator
# W601: .has_key() is deprecated, use in
# W605: invalid escape sequence
# W606: 'async' and 'await' are reserved keywords starting with Python 3.7
# N801: class names should use CapWords convention
# N802: function name should be lowercase
# N806: variable in function should be lowercase
ignore = E128,E129,E226,E231,E251,E265,E302,E303,E305,E402,E731,W504,W601,W605,W606,N801,N802,N806
exclude =
.tox,
pywebsocket,
third_party,
wptserve/docs/conf.py,
wptserve/tests/functional/docroot/invalid.py
max-line-length = 141