Support -n in py2 and py3 linter

RESOLVED FIXED in Firefox 67

Status

enhancement
RESOLVED FIXED
6 months ago
6 months ago

People

(Reporter: Callek, Assigned: Callek)

Tracking

Trunk
mozilla67

Firefox Tracking Flags

(firefox67 fixed)

Details

Attachments

(1 attachment)

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: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.