2015-07-21 11:38:46 +00:00
|
|
|
[tox]
|
2016-10-01 07:50:03 +00:00
|
|
|
envlist = py27,py3
|
2017-12-02 19:13:44 +00:00
|
|
|
[pycodestyle]
|
2016-05-27 16:48:28 +00:00
|
|
|
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
|
2017-12-02 19:13:44 +00:00
|
|
|
pycodestyle
|
2015-07-21 11:38:46 +00:00
|
|
|
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=
|
2017-12-02 19:13:44 +00:00
|
|
|
pycodestyle libagent
|
2017-10-21 14:58:22 +00:00
|
|
|
# isort --skip-glob .tox -c -r libagent
|
2017-04-27 13:31:17 +00:00
|
|
|
pylint --reports=no --rcfile .pylintrc libagent
|
|
|
|
pydocstyle libagent
|
|
|
|
coverage run --source libagent -m py.test -v libagent
|
2015-07-21 11:38:46 +00:00
|
|
|
coverage report
|
2016-01-08 18:28:38 +00:00
|
|
|
coverage html
|