2015-08-08 01:40:26 +03:00
|
|
|
[tox]
|
2017-02-25 03:46:55 +03:00
|
|
|
envlist = py26,py27,py35,py36
|
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-08 01:40:26 +03:00
|
|
|
|
|
|
|
[testenv:pre-commit]
|
2016-09-13 18:53:13 +03:00
|
|
|
basepython = /usr/bin/python3.5
|
|
|
|
commands = pre-commit {posargs:run --all-files}
|
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
|