bug 1463425 - Add more directories to the flake8 list r?ahal draft
authorSylvestre Ledru <sledru@mozilla.com>
Tue, 22 May 2018 06:26:22 -0700
changeset 798942 8a049d082cec3ac7d2de6d21beab6f59816b2d59
parent 798941 0231599b0ea4bc2bd859565883e87197519404a3
push id110886
push usersledru@mozilla.com
push dateWed, 23 May 2018 18:45:50 +0000
reviewersahal
bugs1463425
milestone62.0a1
bug 1463425 - Add more directories to the flake8 list r?ahal MozReview-Commit-ID: JMZQonceq8W
.flake8
tools/lint/flake8.yml
--- a/.flake8
+++ b/.flake8
@@ -1,8 +1,9 @@
 [flake8]
 # See http://pep8.readthedocs.io/en/latest/intro.html#configuration
 ignore = E121, E123, E126, E129, E133, E226, E241, E242, E704, W503, E402, E741
 max-line-length = 99
 exclude =
     browser/extensions/mortar/ppapi/,
+    build/pymake/,
     testing/mochitest/pywebsocket,
     tools/lint/test/files,
--- a/tools/lint/flake8.yml
+++ b/tools/lint/flake8.yml
@@ -1,16 +1,15 @@
 ---
 flake8:
     description: Python linter
     include:
-        - build/*.py
-        - build/moz.configure/*.configure
-        - config/check_macroassembler_style.py
-        - config/mozunit
+        - browser/
+        - build/
+        - config/
         - configure.py
         - layout/tools/reftest
         - python/mach
         - python/mach_commands.py
         - python/mozboot
         - python/mozbuild/mozpack/path.py
         - python/mozlint
         - python/mozterm