Closed
Bug 1406669
Opened 7 years ago
Closed 7 years ago
./mach lint -l flake8 is failing on some specific files (not .py?)
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Developer Infrastructure
Source Code Analysis
Tracking
(firefox58 fixed)
RESOLVED
FIXED
mozilla58
Tracking | Status | |
---|---|---|
firefox58 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: Sylvestre)
References
Details
Attachments
(1 file)
$ ./mach lint -l flake8 build/moz.configure/windows.configure doesn't return anything while flake8 build/moz.configure/windows.configure returns a bunch of stuff $ ./mach lint -l flake8 config/mozunit.py is working (if I introduce errors on purpose
Comment 2•7 years ago
|
||
Yeah, there's an 'extensions' key that's filtering this out in mozlint itself: https://dxr.mozilla.org/mozilla-central/source/tools/lint/flake8.yml#30 Without this key, we'll end up passing in every file in the source tree to flake8 which is slow. Probably the easiest fix is to add 'configure' to that list.
Flags: needinfo?(ahalberstadt)
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → sledru
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8917354 [details] Bug 1406669 - Add the .configure extension to flake8 support https://reviewboard.mozilla.org/r/188358/#review193594
Attachment #8917354 -
Flags: review?(ahalberstadt) → review+
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0648d35fc2d8 Add the .configure extension to flake8 support r=ahal
Comment 6•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0648d35fc2d8
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Updated•6 years ago
|
Product: Core → Firefox Build System
Updated•2 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•