Bug 1283129 - Flake8 linter is accidentally linting some eslint related .lint files, r?maja_zf draft
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Wed, 29 Jun 2016 10:37:27 -0400
changeset 382308 18defcf294c1647c07077a4d655a8b92e050d3f0
parent 381119 939ecc4e9d055c263633cbe276bfb634a68fe4c5
child 524170 6397bb05474c63ff1114e66a2ce31b9806de39d2
push id21697
push userahalberstadt@mozilla.com
push dateWed, 29 Jun 2016 14:40:05 +0000
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