bug 1463425 - Add more directories to the flake8 list r=ahal
authorSylvestre Ledru <sledru@mozilla.com>
Tue, 22 May 2018 06:26:22 -0700
changeset 419600 f6f59b7657ac5abdeb8e733d367bc3f8d3169036
parent 419599 da3c81f986fa63b42a2874b1791eddcdbfbe8424
child 419601 8416a4f99552288b8a47a9b8e5d175d494fa96e6
push id34040
push userebalazs@mozilla.com
push dateThu, 24 May 2018 09:37:05 +0000
treeherdermozilla-central@c411ccb6bb4a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahal
bugs1463425
milestone62.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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