mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
Bug 1367092 - [flake8] Use per-file-ignores to skip __init__.py files under testing/marionette and testing/firefox-ui, r=ato
This allows us to only skip the "unused import" config in these files rather than the entire thing. This also removes the only two uses of "**" in the exclusion rules which made things a bit simpler for me later on in the series. Differential Revision: https://phabricator.services.mozilla.com/D20493 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
c374c10150
commit
034fd32897
4
.flake8
4
.flake8
@ -18,8 +18,6 @@ exclude =
|
||||
mobile/android/*.configure,
|
||||
node_modules,
|
||||
security/nss/,
|
||||
testing/firefox-ui/**/__init__.py,
|
||||
testing/marionette/**/__init__.py,
|
||||
testing/marionette/harness/marionette_harness/runner/mixins,
|
||||
testing/marionette/harness/marionette_harness/tests,
|
||||
testing/mochitest/pywebsocket,
|
||||
@ -41,4 +39,6 @@ ignore =
|
||||
|
||||
per-file-ignores =
|
||||
ipc/ipdl/*: F403, F405
|
||||
testing/firefox-ui/**/__init__.py: F401
|
||||
testing/marionette/**/__init__.py: F401
|
||||
testing/mozharness/configs/*: E124, E127, E128, E131, E231, E261, E265, E266, E501, W391
|
||||
|
Loading…
Reference in New Issue
Block a user