2015-07-21 11:38:46 +00:00
|
|
|
[tox]
|
2016-10-01 07:50:03 +00:00
|
|
|
envlist = py27,py3
|
2016-05-27 16:48:28 +00:00
|
|
|
[pep8]
|
|
|
|
max-line-length = 100
|
2017-04-21 19:51:11 +00:00
|
|
|
[pep257]
|
|
|
|
add-ignore = D401
|
2015-07-21 11:38:46 +00:00
|
|
|
[testenv]
|
|
|
|
deps=
|
|
|
|
pytest
|
|
|
|
mock
|
|
|
|
pep8
|
|
|
|
coverage
|
|
|
|
pylint
|
2016-01-15 11:07:01 +00:00
|
|
|
semver
|
2016-02-19 09:39:12 +00:00
|
|
|
pydocstyle
|
2017-01-06 10:37:14 +00:00
|
|
|
isort
|
2015-07-21 11:38:46 +00:00
|
|
|
commands=
|
2016-05-27 16:48:28 +00:00
|
|
|
pep8 trezor_agent
|
2017-01-06 10:37:14 +00:00
|
|
|
isort --skip-glob .tox -c -r trezor_agent
|
2016-01-04 17:17:08 +00:00
|
|
|
pylint --reports=no --rcfile .pylintrc trezor_agent
|
2016-02-19 09:39:12 +00:00
|
|
|
pydocstyle trezor_agent
|
2015-10-23 09:45:32 +00:00
|
|
|
coverage run --omit='trezor_agent/__main__.py' --source trezor_agent -m py.test -v trezor_agent
|
2015-07-21 11:38:46 +00:00
|
|
|
coverage report
|
2016-01-08 18:28:38 +00:00
|
|
|
coverage html
|