Monty Taylor | da3bada | 2012-11-22 09:38:22 -0800 | [diff] [blame] | 1 | [tox] |
Monty Taylor | 061919f | 2013-06-02 11:35:42 -0400 | [diff] [blame] | 2 | envlist = pep8 |
Monty Taylor | da3bada | 2012-11-22 09:38:22 -0800 | [diff] [blame] | 3 | |
4 | [testenv] | ||||
5 | setenv = VIRTUAL_ENV={envdir} | ||||
Monty Taylor | 061919f | 2013-06-02 11:35:42 -0400 | [diff] [blame] | 6 | deps = -r{toxinidir}/requirements.txt |
7 | -r{toxinidir}/test-requirements.txt | ||||
Monty Taylor | da3bada | 2012-11-22 09:38:22 -0800 | [diff] [blame] | 8 | |
9 | [testenv:pep8] | ||||
Monty Taylor | 061919f | 2013-06-02 11:35:42 -0400 | [diff] [blame] | 10 | commands = flake8 |
Monty Taylor | da3bada | 2012-11-22 09:38:22 -0800 | [diff] [blame] | 11 | |
12 | [testenv:pyflakes] | ||||
Monty Taylor | 061919f | 2013-06-02 11:35:42 -0400 | [diff] [blame] | 13 | commands = flake8 |
Monty Taylor | da3bada | 2012-11-22 09:38:22 -0800 | [diff] [blame] | 14 | |
15 | [testenv:venv] | ||||
16 | commands = {posargs} | ||||
Monty Taylor | 061919f | 2013-06-02 11:35:42 -0400 | [diff] [blame] | 17 | |
18 | [flake8] | ||||
James E. Blair | 5257eb0 | 2013-12-03 10:19:04 -0800 | [diff] [blame] | 19 | # E125 and H are intentionally ignored |
20 | ignore = E125,H | ||||
Monty Taylor | 061919f | 2013-06-02 11:35:42 -0400 | [diff] [blame] | 21 | show-source = True |
22 | exclude = .venv,.tox,dist,doc,build,*.egg |