New issue 220: tox does not respect "ignore" configuration.
https://bitbucket.org/hpk42/tox/issue/220/tox-does-not-respect-ignore-configuration

Terry Chia:

As [documented](http://flake8.readthedocs.org/en/latest/config.html), 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.


_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to