| [tox] |
| envlist = py27,py27-flake8 |
| skipsdist=True |
| |
| [testenv] |
| deps = |
| pytest |
| pytest-cov |
| hypothesis |
| -r{toxinidir}/../wptrunner/requirements.txt |
| -r{toxinidir}/../wptrunner/requirements_chrome.txt |
| -r{toxinidir}/../wptrunner/requirements_firefox.txt |
| |
| commands = |
| pytest --cov {posargs} |
| |
| [testenv:py27-flake8] |
| # flake8 versions should be kept in sync across tools/tox.ini, tools/wpt/tox.ini, and tools/wptrunner/tox.ini |
| deps = |
| flake8==3.5.0 |
| pycodestyle==2.3.1 |
| pyflakes==1.6.0 |
| pep8-naming==0.4.1 |
| |
| commands = |
| flake8 --append-config=../flake8.ini {posargs} |