Bug 1809851 - Add wpt for overflow:overlay as overflow:auto, r=emilio
[gecko.git] / .flake8
blob925db5b4f7910b05512c24d1920f1915b1a2f11f
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     devtools/shared,
6     dom/bindings,
7     ipc/ipdl/ipdl,
8     layout/base/tests/marionette,
9     layout/reftests/border-image,
10     layout/reftests/fonts,
11     layout/reftests/w3c-css,
12     layout/style,
13     media/libdav1d/generate_source.py,
14     moz.configure,
15     netwerk/dns/prepare_tlds.py,
16     netwerk/protocol/http/make_incoming_tables.py,
17     python/l10n/fluent_migrations,
18     security/manager/ssl/tests/unit,
19     servo/components/style,
20     testing/condprofile/condprof/android.py,
21     testing/condprofile/condprof/creator.py,
22     testing/condprofile/condprof/desktop.py,
23     testing/condprofile/condprof/runner.py,
24     testing/condprofile/condprof/scenarii/heavy.py,
25     testing/condprofile/condprof/scenarii/settled.py,
26     testing/condprofile/condprof/scenarii/synced.py
27     testing/condprofile/condprof/helpers.py,
28     testing/jsshell/benchmark.py,
29     testing/marionette/mach_commands.py,
30     testing/mozharness/docs,
31     testing/mozharness/examples,
32     testing/mozharness/external_tools,
33     testing/mozharness/mach_commands.py,
34     testing/mozharness/manifestparser,
35     testing/mozharness/mozprocess,
36     testing/mozharness/setup.py,
37     testing/parse_build_tests_ccov.py,
38     testing/runtimes/writeruntimes.py,
39     testing/tools/iceserver/iceserver.py,
40     testing/tools/websocketprocessbridge/websocketprocessbridge.py,
41     toolkit/components/featuregates,
42     toolkit/content/tests/chrome/file_about_networking_wsh.py,
43     toolkit/library/build/dependentlibs.py,
44     toolkit/locales/generate_update_locale.py,
45     toolkit/mozapps,
46     toolkit/moz.configure,
47     toolkit/nss.configure,
49     # mako files are not really python files
50     *.mako.py,
52     # These paths are intentionally excluded (not necessarily for good reason).
53     build/moz.configure/*.configure,
54     build/pymake/,
55     browser/extensions/mortar/ppapi/,
56     browser/moz.configure,
57     dom/canvas/test/webgl-conf/checkout/closure-library/,
58     editor/libeditor/tests/browserscope/,
59     intl/icu/,
60     ipc/chromium/src/third_party/,
61     js/*.configure,
62     gfx/angle/,
63     gfx/harfbuzz,
64     gfx/skia/,
65     memory/moz.configure,
66     mobile/android/*.configure,
67     node_modules,
68     python/mozbuild/mozbuild/test/configure/data,
69     security/nss/,
70     testing/marionette/harness/marionette_harness/runner/mixins,
71     testing/marionette/harness/marionette_harness/tests,
72     testing/mochitest/pywebsocket3,
73     testing/mozharness/configs/test/test_malformed.py,
74     testing/web-platform/tests,
75     tools/lint/test/files,
76     tools/crashreporter/*.configure,
77     .ycm_extra_conf.py,
79 # See:
80 #   - http://flake8.pycqa.org/en/latest/user/error-codes.html
81 #   - http://pep8.readthedocs.io/en/latest/intro.html#configuration
82 ignore =
83     # These should be triaged and either fixed or moved to the list below.
84     W605, W606,
85     # These are intentionally disabled (not necessarily for good reason).
86     #   F723: syntax error in type comment
87     #       text contains quotes which breaks our custom JSON formatter
88     F723, E704, E741,
90     # black is already in charge of formatting, no need to start a formatter
91     # battle here
92     E1, W1, E2, W2, E3, W3, E4, W4, E5, W5
94 per-file-ignores =
95     # These paths are intentionally excluded.
96     ipc/ipdl/*: F403, F405
97     layout/tools/reftest/selftest/conftest.py: F811
98     # cpp_eclipse has a lot of multi-line embedded XML which exceeds line length
99     python/mozbuild/mozbuild/backend/cpp_eclipse.py: E501
100     testing/firefox-ui/**/__init__.py: F401
101     testing/marionette/**/__init__.py: F401
102     testing/mochitest/tests/python/conftest.py: F811
103     testing/mozbase/manifestparser/tests/test_filters.py: E731
104     testing/mozbase/mozlog/tests/test_formatters.py: E501
105     testing/mozharness/configs/*: E124, E127, E128, E131, E231, E261, E265, E266, E501, W391
107     # These paths contain Python-2 only syntax which cause errors since flake8
108     # is run with Python 3.
109     build/compare-mozconfig/compare-mozconfigs.py: F821
110     build/midl.py: F821
111     build/pgo/genpgocert.py: F821
112     config/MozZipFile.py: F821
113     config/check_source_count.py: F821
114     config/tests/unitMozZipFile.py: F821
115     ipc/pull-chromium.py: F633
116     js/src/**: F633, F821
117     python/mozbuild/mozbuild/action/dump_env.py: F821
118     python/mozbuild/mozbuild/dotproperties.py: F821
119     python/mozbuild/mozbuild/testing.py: F821
120     python/mozbuild/mozbuild/util.py: F821
121     testing/mozharness/mozharness/mozilla/testing/android.py: F821
122     testing/mochitest/runtests.py: F821
124 builtins =
125     # For GDB extensions
126     gdb