Bug 1540028 [wpt PR 16099] - Catch more exceptions in Document-createElement-namespac...
[gecko.git] / .flake8
blob05be05a88af849f4b95674aa29d734e907c00bd0
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     gfx/tests,
16     layout/base/tests/marionette,
17     layout/reftests/border-image,
18     layout/reftests/fonts,
19     layout/reftests/w3c-css,
20     layout/style,
21     media/libdav1d/generate_source.py,
22     moz.configure,
23     netwerk/dns/prepare_tlds.py,
24     netwerk/protocol/http/make_incoming_tables.py,
25     python/devtools/migrate-l10n/migrate/main.py,
26     python/l10n/fluent_migrations,
27     python/mozbuild/dumbmake,
28     python/mozbuild/mozbuild,
29     servo/components/style,
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/view_gecko_profile/view_gecko_profile.py,
43     testing/tools/websocketprocessbridge/websocketprocessbridge.py,
44     testing/web-platform,
45     toolkit/components/featuregates,
46     toolkit/content/tests/chrome/file_about_networking_wsh.py,
47     toolkit/crashreporter/tools/symbolstore.py,
48     toolkit/crashreporter/tools/unit-symbolstore.py,
49     toolkit/library/dependentlibs.py,
50     toolkit/locales/generate_update_locale.py,
51     toolkit/mozapps,
52     toolkit/moz.configure,
53     toolkit/nss.configure,
55     # These paths are intentionally excluded (not necessarily for good reason).
56     build/build-infer/build-infer.py,
57     build/moz.configure/*.configure,
58     build/pymake/,
59     browser/extensions/mortar/ppapi/,
60     browser/moz.configure,
61     dom/canvas/test/webgl-conf/checkout/closure-library/,
62     editor/libeditor/tests/browserscope/,
63     intl/icu/,
64     ipc/chromium/src/third_party/,
65     js/*.configure,
66     gfx/angle/,
67     gfx/harfbuzz,
68     gfx/skia/,
69     memory/moz.configure,
70     mobile/android/*.configure,
71     node_modules,
72     security/nss/,
73     testing/marionette/harness/marionette_harness/runner/mixins,
74     testing/marionette/harness/marionette_harness/tests,
75     testing/mochitest/pywebsocket,
76     testing/mozharness/configs/test/test_malformed.py,
77     tools/lint/test/files,
78     tools/infer/test/*.configure,
79     tools/crashreporter/*.configure,
80     .ycm_extra_conf.py,
82 # See:
83 #   - http://flake8.pycqa.org/en/latest/user/error-codes.html
84 #   - http://pep8.readthedocs.io/en/latest/intro.html#configuration
85 ignore =
86     # These should be triaged and either fixed or moved to the list below.
87     F632, F633, F811, E117, W504, W605, W606,
88     # These are intentionally disabled (not necessarily for good reason).
89     #   F723: syntax error in type comment
90     #       text contains quotes which breaks our custom JSON formatter
91     F723, E121, E123, E126, E129, E133, E226, E241, E242, E402, E704, E741, W503,
93 per-file-ignores =
94     ipc/ipdl/*: F403, F405
95     testing/firefox-ui/**/__init__.py: F401
96     testing/marionette/**/__init__.py: F401
97     testing/mozharness/configs/*: E124, E127, E128, E131, E231, E261, E265, E266, E501, W391