Bug 1500142 - Remove inspector bindings from toolbox. r=yulia,ochameau
[gecko.git] / .flake8
blob897a6f5bd9c725c72165c468fe79139efb439339
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     servo/components/style,
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/view_gecko_profile/view_gecko_profile.py,
42     testing/tools/websocketprocessbridge/websocketprocessbridge.py,
43     testing/web-platform,
44     toolkit/components/featuregates,
45     toolkit/content/tests/chrome/file_about_networking_wsh.py,
46     toolkit/crashreporter/tools/symbolstore.py,
47     toolkit/crashreporter/tools/unit-symbolstore.py,
48     toolkit/library/build/dependentlibs.py,
49     toolkit/locales/generate_update_locale.py,
50     toolkit/mozapps,
51     toolkit/moz.configure,
52     toolkit/nss.configure,
54     # These paths are intentionally excluded (not necessarily for good reason).
55     build/build-infer/build-infer.py,
56     build/moz.configure/*.configure,
57     build/pymake/,
58     browser/extensions/mortar/ppapi/,
59     browser/moz.configure,
60     dom/canvas/test/webgl-conf/checkout/closure-library/,
61     editor/libeditor/tests/browserscope/,
62     intl/icu/,
63     ipc/chromium/src/third_party/,
64     js/*.configure,
65     gfx/angle/,
66     gfx/harfbuzz,
67     gfx/skia/,
68     memory/moz.configure,
69     mobile/android/*.configure,
70     node_modules,
71     python/mozbuild/mozbuild/test/configure/data,
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     # cpp_eclipse has a lot of multi-line embedded XML which exceeds line length
96     python/mozbuild/mozbuild/backend/cpp_eclipse.py: E501
97     testing/firefox-ui/**/__init__.py: F401
98     testing/marionette/**/__init__.py: F401
99     testing/mozharness/configs/*: E124, E127, E128, E131, E231, E261, E265, E266, E501, W391