Opened 8 years ago
Closed 8 years ago
#27091 closed Bug (fixed)
Add .tox directory to flake8 exclude
Reported by: | Kevin Christopher Henry | Owned by: | nobody |
---|---|---|---|
Component: | Testing framework | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
My attempt to run the flake8 target with tox produces a gazillion failures. It appears that the problem is that flake8 is analyzing the code in the virtual environments in the .tox directory (for example, the dependencies in site-packages). Adding .tox
to exclude
in the flake8 configuration in setup.cfg solves the problem.
Change History (2)
comment:1 by , 8 years ago
Summary: | Should .tox directory be added to flake8 exclude? → Add .tox directory to flake8 exclude |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
Note:
See TracTickets
for help on using tickets.
Yes, maybe something changed in the latest version of flake8 because I thought it was working originally.