Closed Bug 1397368 Opened 7 years ago Closed 3 months ago

py2 linter finds spurious python files

Categories

(Developer Infrastructure :: Lint and Formatting, enhancement, P3)

3 Branch
enhancement

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: dustin, Unassigned)

Details

I have a bunch of python scripts, and a virtualenv, in my source directory, and running `./mach mozlint -l py2` finds those files and lints them (unsuccessfully).  I could fix the scripts, but not the packages in the virtualenv.

I never had this trouble with -l flake8.  Is it possible to use whatever source-file-finding approach it takes for py2/py3 as well?
Yeah, that's annoying. I guess flake8 must be checking that the files are tracked by version control. We should definitely do the same here.
Priority: -- → P3
Product: Testing → Firefox Build System
Version: Version 3 → 3 Branch
Product: Firefox Build System → Developer Infrastructure
Severity: normal → S3

AFAIK these linters were replaced by Black. Assuming this is no longer an issue.

Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.