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