mirror of
https://github.com/thegeeklab/docker-tidy.git
synced 2024-11-16 09:40:40 +00:00
31 lines
400 B
INI
31 lines
400 B
INI
[tox]
|
|
envlist = py26,py27,py33,py34
|
|
|
|
[testenv]
|
|
deps =
|
|
-rrequirements.txt
|
|
flake8
|
|
pytest
|
|
mock
|
|
commands =
|
|
py.test {posargs:tests}
|
|
flake8 .
|
|
|
|
[testenv:py26]
|
|
deps =
|
|
-rrequirements.txt
|
|
flake8
|
|
pytest
|
|
mock < 1.1.0
|
|
|
|
[testenv:install-hooks]
|
|
deps =
|
|
pre-commit
|
|
commands =
|
|
pre-commit install
|
|
|
|
[flake8]
|
|
ignore =
|
|
exclude = .git/*,.tox/*,debian/*
|
|
max_line_length = 85
|