mirror of
https://github.com/bblaz/num2words.git
synced 2025-12-06 06:42:25 +00:00
Update tox.ini to check more stuffs (#103)
This commit is contained in:
committed by
GitHub
parent
34d5a4cd5a
commit
c6015db8b4
6
requirements-test.txt
Normal file
6
requirements-test.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
flake8
|
||||
flake8-copyright
|
||||
isort
|
||||
pep8<1.6
|
||||
coverage
|
||||
|
||||
18
tox.ini
18
tox.ini
@@ -1,5 +1,19 @@
|
||||
[tox]
|
||||
envlist = py27,py34,py35,py36
|
||||
envlist = flake8, isort, py27,py34,py35,py36
|
||||
|
||||
[testenv]
|
||||
commands = python -m unittest discover
|
||||
deps =
|
||||
-r{toxinidir}/requirements-test.txt
|
||||
commands =
|
||||
coverage erase
|
||||
coverage run -m unittest discover
|
||||
coverage report --fail-under=75 --omit=.tox/*,/usr/*
|
||||
|
||||
[testenv:flake8]
|
||||
commands=
|
||||
flake8
|
||||
|
||||
[testenv:isort]
|
||||
commands=
|
||||
isort --check-only --recursive --diff num2words tests
|
||||
|
||||
|
||||
Reference in New Issue
Block a user