Closed Bug 1524444 Opened 2 years ago Closed 2 years ago

Support -n in py2 and py3 linter

Categories

(Firefox Build System :: Lint and Formatting, enhancement)

enhancement
Not set
normal

Tracking

(firefox67 fixed)

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: Callek, Assigned: Callek)

Details

Attachments

(1 file)

When doing linting on new directories, it helps to be able to first fix the lint errors and then drop from the excludes, so support -n for py2 and py3

Interesting, I believe config.get('exclude') should be None if -n is passed in. There might be a bug. I'll do a little investigating before r+ing.

Attachment #9040611 - Attachment description: Bug 1524444 - Respect -n for linting in py3/py2. r=ahal → Bug 1524444 - Respect -n for linting in py3/py2 and better support it in other linters. r=ahal
Pushed by jwood@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c514d7a4330b
Respect -n for linting in py3/py2 and better support it in other linters. r=ahal
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.