diff --git a/requirements-dev.txt b/requirements-dev.txt deleted file mode 100644 index 053148f..0000000 --- a/requirements-dev.txt +++ /dev/null @@ -1 +0,0 @@ -tox diff --git a/tox.ini b/tox.ini index b06031b..83b3465 100644 --- a/tox.ini +++ b/tox.ini @@ -9,7 +9,7 @@ envlist = # ignore missing setup.py skipsdist = True -[testenv:py] +[testenv] setenv = PYTHONDONTWRITEBYTECODE = 1 deps = @@ -19,22 +19,14 @@ deps = ipython pytest commands = - coverage run --source=bin/ -m pytest -vv -rxs --tb native -s --durations 10 --strict {posargs:tests} + coverage run --source=bin/ -m py.test -rxs --tb native -s --strict {posargs:tests} coverage report -m -[testenv:flake8] -deps = - flake8 - pyflakes - pep8 - mccabe -commands = - flake8 . [testenv:pre-commit] deps = - pre-commit -command = + pre-commit>=0.7.0 +commands = pre-commit {posargs} [pytest]