2016-05-06 00:21:12 +03:00
|
|
|
[flake8]
|
|
|
|
max-line-length = 99
|
2017-08-30 00:32:31 +03:00
|
|
|
exclude =
|
2019-02-07 23:16:45 +03:00
|
|
|
build/build-infer/build-infer.py,
|
2018-07-25 16:56:19 +03:00
|
|
|
build/moz.configure/*.configure,
|
2018-05-22 16:26:22 +03:00
|
|
|
build/pymake/,
|
2019-02-07 23:16:45 +03:00
|
|
|
browser/extensions/mortar/ppapi/,
|
|
|
|
browser/moz.configure,
|
2018-06-13 09:11:40 +03:00
|
|
|
dom/canvas/test/webgl-conf/checkout/closure-library/,
|
2018-06-10 15:13:44 +03:00
|
|
|
editor/libeditor/tests/browserscope/,
|
2018-06-13 09:11:40 +03:00
|
|
|
intl/icu/,
|
2018-11-21 06:11:37 +03:00
|
|
|
ipc/chromium/src/third_party/,
|
2019-02-07 23:16:45 +03:00
|
|
|
js/*.configure,
|
2018-06-10 15:13:44 +03:00
|
|
|
gfx/angle/,
|
|
|
|
gfx/harfbuzz,
|
|
|
|
glx/skia/,
|
2018-07-06 15:39:39 +03:00
|
|
|
memory/moz.configure,
|
|
|
|
mobile/android/*.configure,
|
2018-06-06 20:32:43 +03:00
|
|
|
node_modules,
|
2018-05-28 21:58:54 +03:00
|
|
|
security/nss/,
|
2019-02-07 23:17:02 +03:00
|
|
|
testing/firefox-ui/**/__init__.py,
|
|
|
|
testing/marionette/**/__init__.py,
|
|
|
|
testing/marionette/harness/marionette_harness/runner/mixins,
|
|
|
|
testing/marionette/harness/marionette_harness/tests,
|
2017-08-30 00:32:31 +03:00
|
|
|
testing/mochitest/pywebsocket,
|
2019-02-07 23:17:02 +03:00
|
|
|
testing/mozharness/configs/test/test_malformed.py,
|
2018-03-23 00:24:15 +03:00
|
|
|
tools/lint/test/files,
|
2019-02-07 23:16:45 +03:00
|
|
|
tools/infer/test/*.configure,
|
2019-01-11 19:01:15 +03:00
|
|
|
tools/crashreporter/*.configure,
|
2019-02-07 23:16:45 +03:00
|
|
|
|
|
|
|
# See:
|
|
|
|
# - http://flake8.pycqa.org/en/latest/user/error-codes.html
|
|
|
|
# - http://pep8.readthedocs.io/en/latest/intro.html#configuration
|
|
|
|
ignore =
|
|
|
|
# These should be triaged and either fixed or moved to the list below.
|
|
|
|
F632, F633, F811, E117, W504, W605, W606,
|
|
|
|
# These are intentionally disabled (not necessarily for good reason).
|
|
|
|
# F723: syntax error in type comment
|
|
|
|
# text contains quotes which breaks our custom JSON formatter
|
|
|
|
F723, E121, E123, E126, E129, E133, E226, E241, E242, E402, E704, E741, W503,
|
2019-02-07 23:17:02 +03:00
|
|
|
|
|
|
|
per-file-ignores =
|
|
|
|
ipc/ipdl/*: F403, F405
|
|
|
|
testing/mozharness/configs/*: E124, E127, E128, E131, E231, E261, E265, E266, E501, W391
|