Bug 1508381 - remove now-unnecessary TASKCLUSTER_* variables r=tomprince
[gecko.git] / .flake8
blob162e07fe0a172891ebb76b024857953ebf085e38
1 [flake8]
2 max-line-length = 99
3 exclude =
4     # These paths should be triaged and either fixed or moved to the list below.
5     client.py,
6     devtools/shared,
7     dom/base,
8     dom/bindings,
9     dom/browser-element,
10     dom/canvas,
11     dom/encoding,
12     dom/imptests,
13     dom/security,
14     dom/websocket,
15     embedding/ios/moz.configure,
16     gfx/tests,
17     layout/base/tests/marionette,
18     layout/reftests/border-image,
19     layout/reftests/fonts,
20     layout/reftests/w3c-css,
21     layout/style,
22     media/libdav1d/generate_source.py,
23     moz.configure,
24     netwerk/dns/prepare_tlds.py,
25     netwerk/protocol/http/make_incoming_tables.py,
26     python/devtools/migrate-l10n/migrate/main.py,
27     python/l10n/fluent_migrations,
28     python/mozbuild/dumbmake,
29     python/mozbuild/mozbuild,
30     servo/components/style,
31     testing/jsshell/benchmark.py,
32     testing/marionette/mach_commands.py,
33     testing/mozharness/docs,
34     testing/mozharness/examples,
35     testing/mozharness/external_tools,
36     testing/mozharness/mach_commands.py,
37     testing/mozharness/manifestparser,
38     testing/mozharness/mozprocess,
39     testing/mozharness/setup.py,
40     testing/parse_build_tests_ccov.py,
41     testing/runtimes/writeruntimes.py,
42     testing/tools/iceserver/iceserver.py,
43     testing/tools/view_gecko_profile/view_gecko_profile.py,
44     testing/tools/websocketprocessbridge/websocketprocessbridge.py,
45     testing/web-platform,
46     toolkit/components/featuregates,
47     toolkit/content/tests/chrome/file_about_networking_wsh.py,
48     toolkit/crashreporter/tools/symbolstore.py,
49     toolkit/crashreporter/tools/unit-symbolstore.py,
50     toolkit/library/dependentlibs.py,
51     toolkit/locales/generate_update_locale.py,
52     toolkit/mozapps,
53     toolkit/moz.configure,
54     toolkit/nss.configure,
56     # These paths are intentionally excluded (not necessarily for good reason).
57     build/build-infer/build-infer.py,
58     build/moz.configure/*.configure,
59     build/pymake/,
60     browser/extensions/mortar/ppapi/,
61     browser/moz.configure,
62     dom/canvas/test/webgl-conf/checkout/closure-library/,
63     editor/libeditor/tests/browserscope/,
64     intl/icu/,
65     ipc/chromium/src/third_party/,
66     js/*.configure,
67     gfx/angle/,
68     gfx/harfbuzz,
69     gfx/skia/,
70     memory/moz.configure,
71     mobile/android/*.configure,
72     node_modules,
73     security/nss/,
74     testing/marionette/harness/marionette_harness/runner/mixins,
75     testing/marionette/harness/marionette_harness/tests,
76     testing/mochitest/pywebsocket,
77     testing/mozharness/configs/test/test_malformed.py,
78     tools/lint/test/files,
79     tools/infer/test/*.configure,
80     tools/crashreporter/*.configure,
81     .ycm_extra_conf.py,
83 # See:
84 #   - http://flake8.pycqa.org/en/latest/user/error-codes.html
85 #   - http://pep8.readthedocs.io/en/latest/intro.html#configuration
86 ignore =
87     # These should be triaged and either fixed or moved to the list below.
88     F632, F633, F811, E117, W504, W605, W606,
89     # These are intentionally disabled (not necessarily for good reason).
90     #   F723: syntax error in type comment
91     #       text contains quotes which breaks our custom JSON formatter
92     F723, E121, E123, E126, E129, E133, E226, E241, E242, E402, E704, E741, W503,
94 per-file-ignores =
95     ipc/ipdl/*: F403, F405
96     testing/firefox-ui/**/__init__.py: F401
97     testing/marionette/**/__init__.py: F401
98     testing/mozharness/configs/*: E124, E127, E128, E131, E231, E261, E265, E266, E501, W391