2015-08-08 01:40:26 +03:00
|
|
|
[tox]
|
2016-04-26 00:58:48 +03:00
|
|
|
envlist = py26,py27,py34,py35
|
2015-08-08 01:40:26 +03:00
|
|
|
|
|
|
|
[testenv]
|
2015-09-18 20:14:49 +03:00
|
|
|
deps = -r{toxinidir}/requirements-dev.txt
|
2016-07-02 21:36:30 +03:00
|
|
|
passenv = HOME SSH_AUTH_SOCK USER
|
2015-08-08 01:40:26 +03:00
|
|
|
commands =
|
2015-09-12 01:57:22 +03:00
|
|
|
python -m pytest
|
2015-08-10 19:32:56 +03:00
|
|
|
pre-commit run --all-files
|
2015-08-08 01:40:26 +03:00
|
|
|
|
|
|
|
[testenv:pre-commit]
|
|
|
|
commands = pre-commit {posargs}
|
2015-09-29 20:33:26 +03:00
|
|
|
|
|
|
|
[flake8]
|
|
|
|
max-line-length = 119
|
|
|
|
|
|
|
|
[pep8]
|
|
|
|
# autopep8 will rewrite lines to be shorter, even though we raised the length
|
|
|
|
ignore = E501
|