diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/tests/tools/flake8.ini | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/tools/flake8.ini')
-rw-r--r-- | testing/web-platform/tests/tools/flake8.ini | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/web-platform/tests/tools/flake8.ini b/testing/web-platform/tests/tools/flake8.ini new file mode 100644 index 0000000000..9b745acccd --- /dev/null +++ b/testing/web-platform/tests/tools/flake8.ini @@ -0,0 +1,26 @@ +[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’ +# N801: class names should use CapWords convention +# N802: function name should be lowercase +# N806: variable in function should be lowercase +# N818: exception should be named with an Error suffix +ignore = E128,E129,E226,E231,E251,E265,E302,E303,E305,E402,E731,W504,W601,N801,N802,N806,N818 +exclude = + .tox, + third_party, + wptserve/docs/conf.py, + wptserve/tests/functional/docroot/invalid.py +max-line-length = 141 |