From a24d199161506c0a4defe20c4a197fb5f0c71aec Mon Sep 17 00:00:00 2001 From: William Ting Date: Tue, 3 May 2016 23:11:40 -0700 Subject: [PATCH] Fix tox.ini / test runner. --- requirements-dev.txt | 1 - tox.ini | 16 ++++------------ 2 files changed, 4 insertions(+), 13 deletions(-) delete mode 100644 requirements-dev.txt 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]