Bug 1464869 - Add accessible/, js/, mobile/, memory/, mozglue/, security/, testing/mozharness/mozharness/mozilla/testing/ and xpcom/ to the list of checked directory for flake8 draft
authorSylvestre Ledru <sledru@mozilla.com>
Sat, 26 May 2018 06:46:11 -0700
changeset 804687 e36ad8179576e0e80e4da7c7955e4d6d144aeb65
parent 804686 2241e9b9c976e9e25d0e2d6eb4faa4218c038e2a
child 804688 eb4cacb2d90515d738ce954a186508dba2d160f4
push id112435
push usersledru@mozilla.com
push dateWed, 06 Jun 2018 11:45:50 +0000
bugs1464869
milestone62.0a1
Bug 1464869 - Add accessible/, js/, mobile/, memory/, mozglue/, security/, testing/mozharness/mozharness/mozilla/testing/ and xpcom/ to the list of checked directory for flake8 MozReview-Commit-ID: 5MJZSdHDKo4
tools/lint/flake8.yml
--- a/tools/lint/flake8.yml
+++ b/tools/lint/flake8.yml
@@ -1,46 +1,54 @@
 ---
 flake8:
     description: Python linter
     include:
+        - accessible/
         - browser/
         - build/
         - config/
         - configure.py
+        - js/
+        - memory/
+        - mobile/
+        - mozglue/
         - layout/tools/reftest
         - python/mach
         - python/mach_commands.py
         - python/mozboot
         - python/mozbuild/mozpack/path.py
         - python/mozlint
         - python/mozterm
         - python/mozversioncontrol
+        - security/
         - security/manager
         - taskcluster
         - testing/firefox-ui
         - testing/mach_commands.py
         - testing/marionette/client
         - testing/marionette/harness
         - testing/marionette/puppeteer
         - testing/mochitest
         - testing/mozbase
         - testing/mozharness/configs
         - testing/mozharness/mozfile
         - testing/mozharness/mozharness/mozilla/mar.py
+        - testing/mozharness/mozharness/mozilla/testing/
         - testing/mozharness/mozinfo
         - testing/mozharness/scripts
         - testing/raptor
         - testing/remotecppunittests.py
         - testing/runcppunittests.py
         - testing/talos/
         - testing/xpcshell
         - toolkit/components/telemetry
         - toolkit/crashreporter/tools/upload_symbols.py
         - tools/
+        - xpcom/
     # Excludes should be added to topsrcdir/.flake8 due to a bug in flake8 where
     # specifying --exclude causes custom configuration files to be ignored.
     exclude: []
     # The configure option is used by the build system
     extensions: ['configure', 'py']
     support-files:
         - '**/.flake8'
         - 'tools/lint/python/flake8*'