pep8: use tox.ini for configuration

This commit is contained in:
Roman Zeyde
2016-05-27 19:48:28 +03:00
parent af8ad99c7a
commit 2bbd335f7e

View File

@@ -1,5 +1,7 @@
[tox] [tox]
envlist = py27,py34 envlist = py27,py34
[pep8]
max-line-length = 100
[testenv] [testenv]
deps= deps=
pytest pytest
@@ -10,7 +12,7 @@ deps=
semver semver
pydocstyle pydocstyle
commands= commands=
pep8 trezor_agent --max-line-length=100 pep8 trezor_agent
pylint --reports=no --rcfile .pylintrc trezor_agent pylint --reports=no --rcfile .pylintrc trezor_agent
pydocstyle trezor_agent pydocstyle trezor_agent
coverage run --omit='trezor_agent/__main__.py' --source trezor_agent -m py.test -v trezor_agent coverage run --omit='trezor_agent/__main__.py' --source trezor_agent -m py.test -v trezor_agent