py2 linter finds spurious python files

NEW
Unassigned

Status

P3
normal
a year ago
9 months ago

People

(Reporter: dustin, Unassigned)

Tracking

Version 3

Firefox Tracking Flags

(Not tracked)

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

Updated

9 months ago
Product: Testing → Firefox Build System
You need to log in before you can comment on or make changes to this bug.