4 # These paths should be triaged and either fixed or moved to the list below.
8 layout/base/tests/marionette,
9 layout/reftests/border-image,
10 layout/reftests/fonts,
11 layout/reftests/w3c-css,
13 media/libdav1d/generate_source.py,
15 netwerk/dns/prepare_tlds.py,
16 netwerk/protocol/http/make_incoming_tables.py,
17 python/devtools/migrate-l10n/migrate/main.py,
18 python/l10n/fluent_migrations,
19 security/manager/ssl/tests/unit,
20 servo/components/style,
21 testing/condprofile/condprof/android.py,
22 testing/condprofile/condprof/creator.py,
23 testing/condprofile/condprof/desktop.py,
24 testing/condprofile/condprof/runner.py,
25 testing/condprofile/condprof/scenarii/heavy.py,
26 testing/condprofile/condprof/scenarii/settled.py,
27 testing/condprofile/condprof/scenarii/synced.py
28 testing/condprofile/condprof/helpers.py,
29 testing/jsshell/benchmark.py,
30 testing/marionette/mach_commands.py,
31 testing/mozharness/docs,
32 testing/mozharness/examples,
33 testing/mozharness/external_tools,
34 testing/mozharness/mach_commands.py,
35 testing/mozharness/manifestparser,
36 testing/mozharness/mozprocess,
37 testing/mozharness/setup.py,
38 testing/parse_build_tests_ccov.py,
39 testing/runtimes/writeruntimes.py,
40 testing/tools/iceserver/iceserver.py,
41 testing/tools/websocketprocessbridge/websocketprocessbridge.py,
42 toolkit/components/featuregates,
43 toolkit/content/tests/chrome/file_about_networking_wsh.py,
44 toolkit/library/build/dependentlibs.py,
45 toolkit/locales/generate_update_locale.py,
47 toolkit/moz.configure,
48 toolkit/nss.configure,
50 # These paths are intentionally excluded (not necessarily for good reason).
51 build/moz.configure/*.configure,
53 browser/extensions/mortar/ppapi/,
54 browser/moz.configure,
55 dom/canvas/test/webgl-conf/checkout/closure-library/,
56 editor/libeditor/tests/browserscope/,
58 ipc/chromium/src/third_party/,
64 mobile/android/*.configure,
66 python/mozbuild/mozbuild/test/configure/data,
68 testing/marionette/harness/marionette_harness/runner/mixins,
69 testing/marionette/harness/marionette_harness/tests,
70 testing/mochitest/pywebsocket3,
71 testing/mozharness/configs/test/test_malformed.py,
72 testing/web-platform/tests,
73 tools/lint/test/files,
74 tools/crashreporter/*.configure,
77 # This file uses py3.7 only syntax, so can't currently be checked by flake8 in-tree
78 tools/crashreporter/system-symbols/win/symsrv-fetch.py
81 # - http://flake8.pycqa.org/en/latest/user/error-codes.html
82 # - http://pep8.readthedocs.io/en/latest/intro.html#configuration
84 # These should be triaged and either fixed or moved to the list below.
86 # These are intentionally disabled (not necessarily for good reason).
87 # F723: syntax error in type comment
88 # text contains quotes which breaks our custom JSON formatter
89 F723, E121, E123, E126, E129, E133, E226, E241, E242, E402, E704, E741, W503,
91 # black will generate code that breaks these. they're not PEP8 compliant though;
92 # see https://github.com/psf/black/blob/master/docs/compatible_configs.md#flake8
96 # These paths are intentionally excluded.
97 ipc/ipdl/*: F403, F405
98 layout/tools/reftest/selftest/conftest.py: F811
99 # cpp_eclipse has a lot of multi-line embedded XML which exceeds line length
100 python/mozbuild/mozbuild/backend/cpp_eclipse.py: E501
101 testing/firefox-ui/**/__init__.py: F401
102 testing/marionette/**/__init__.py: F401
103 testing/mochitest/tests/python/conftest.py: F811
104 testing/mozbase/manifestparser/tests/test_filters.py: E731
105 testing/mozbase/mozlog/tests/test_formatters.py: E501
106 testing/mozharness/configs/*: E124, E127, E128, E131, E231, E261, E265, E266, E501, W391
108 # These paths contain Python-2 only syntax which cause errors since flake8
109 # is run with Python 3.
110 build/compare-mozconfig/compare-mozconfigs.py: F821
112 build/pgo/genpgocert.py: F821
113 config/MozZipFile.py: F821
114 config/check_source_count.py: F821
115 config/tests/unitMozZipFile.py: F821
116 ipc/pull-chromium.py: F633
117 js/src/**: F633, F821
118 python/mozbuild/mozbuild/action/dump_env.py: F821
119 python/mozbuild/mozbuild/dotproperties.py: F821
120 python/mozbuild/mozbuild/testing.py: F821
121 python/mozbuild/mozbuild/util.py: F821
122 testing/mozharness/mozharness/mozilla/testing/android.py: F821
123 testing/mochitest/runtests.py: F821