tox does not respect "ignore" configuration.

Issue #220 on hold
Terry Chia created an issue

As documented, tox should respect the "ignore" field in a tox.ini config file. tox 1.8.1 does not seem to do that.

Here is a minimal reproduction of the bug: https://github.com/Ayrx/tox-bug-repro. I would expect that tox passes without flagging the unused import here. However, I get the following results.

$ tox -e pep8
pep8 runtests: PYTHONHASHSEED='2632284098'
pep8 runtests: commands[0] | flake8 .
./test.py:1:1: F401 'sys' imported but unused
ERROR: InvocationError: '/home/ayrx/code/tox-bug-repro/.tox/pep8/bin/flake8 .'
___________________________________ summary ____________________________________
ERROR:   pep8: commands failed

$ flake8 .
./test.py:1:1: F401 'sys' imported but unused

Here are the packages installed in my virtualenv.

$ pip list
flake8 (2.3.0)
mccabe (0.3)
pep8 (1.6.2)
pip (6.0.8)
py (1.4.26)
pyflakes (0.8.1)
setuptools (12.2)
tox (1.8.1)
virtualenv (12.0.7)

Let me know if more information is needed.

Comments (5)

  1. Terry Chia reporter

    Blah, not sure what I was thinking yesterday. I'll file a report with flake8. Sorry for the noise.

  2. Log in to comment