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


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 Tim Graham, 8 years ago

Summary: Should .tox directory be added to flake8 exclude?Add .tox directory to flake8 exclude
Triage Stage: UnreviewedReady for checkin

Yes, maybe something changed in the latest version of flake8 because I thought it was working originally.

comment:2 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: newclosed

In 98385ac7:

Fixed #27091 -- Added .tox to flake8 exclude.

Note: See TracTickets for help on using tickets.
Back to Top