mirror of
https://github.com/bblaz/num2words.git
synced 2025-12-06 06:42:25 +00:00
Activate flake8, isort and coveralls in the configuration of tox (#105)
* Activate flake8, isort and coveralls in the configuration of tox * Update code to respect PEP8 * Fix bug in the lang_IT for python 3 * Update the README to include the new converters.
This commit is contained in:
committed by
GitHub
parent
c6015db8b4
commit
3da0c54f3b
12
tox.ini
12
tox.ini
@@ -2,18 +2,14 @@
|
||||
envlist = flake8, isort, py27,py34,py35,py36
|
||||
|
||||
[testenv]
|
||||
passenv = TRAVIS TRAVIS_*
|
||||
deps =
|
||||
-r{toxinidir}/requirements-test.txt
|
||||
commands =
|
||||
flake8
|
||||
isort --check-only --recursive --diff num2words tests
|
||||
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
|
||||
coveralls
|
||||
|
||||
|
||||
Reference in New Issue
Block a user