Bug 1283129 - Flake8 linter is accidentally linting some eslint related .lint files, r=maja_zf
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Wed, 29 Jun 2016 10:37:27 -0400
changeset 303128 63214a08673f5463749cc5f15230fda06ef6c5f8
parent 303127 ed7d7a895962ca78cdad5200b052e73850c4b807
child 303129 1dc9bc2129e8fdb953cfdf4fd5d38aa4fff554ac
push id19824
push usercbook@mozilla.com
push dateThu, 30 Jun 2016 10:53:06 +0000
treeherderfx-team@7b4e8a8e4f0b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmaja_zf
bugs1283129
milestone50.0a1
Bug 1283129 - Flake8 linter is accidentally linting some eslint related .lint files, r=maja_zf If you run |mach eslint| it will install a bunch of eslint related node_modules. Some of these modules have '.lint' files in them which erroneously get picked up by the flake8 linter. This patch makes sure that bare '.lint' files do not get included, they must have some kind of file name first. MozReview-Commit-ID: IvBfErnV6jm
.flake8
--- a/.flake8
+++ b/.flake8
@@ -1,3 +1,3 @@
 [flake8]
 max-line-length = 99
-filename = *.py, *.lint
+filename = *.py, +.lint