diff options
author | Harmon <Harmon758@gmail.com> | 2020-02-17 13:26:11 -0600 |
---|---|---|
committer | Harmon <Harmon758@gmail.com> | 2020-02-17 13:26:11 -0600 |
commit | 14a7292b26e6ee86d523be188bd0d70527c5be84 (patch) | |
tree | bf8ad2557f15f3bd814133f55b3c778a04e4767a /tox.ini | |
parent | 72a2f7dd13fdede555ca66521f8bee73482dc2f4 (diff) | |
download | gitpython-14a7292b26e6ee86d523be188bd0d70527c5be84.tar.gz |
Replace nose with unittest in tox configuration
And directly use coverage.py
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2,13 +2,14 @@ envlist = py34,py35,py36,py37,py38,flake8 [testenv] -commands = nosetests {posargs} +commands = python -m unittest --buffer {posargs} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt passenv = HOME [testenv:cover] -commands = nosetests --with-coverage {posargs} +commands = coverage run --omit="git/test/*" -m unittest --buffer {posargs} + coverage report [testenv:flake8] commands = flake8 --ignore=W293,E265,E266,W503,W504,E731 {posargs} |