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:
Ernesto Rodriguez Ortiz
2017-10-30 14:06:46 -04:00
committed by GitHub
parent c6015db8b4
commit 3da0c54f3b
52 changed files with 1393 additions and 572 deletions

12
tox.ini
View File

@@ -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