tools/cookiecutter-mistral-custom/{{cookiecutter.project_name}}/tox.ini
raw| 1 | [tox] |
| 2 | envlist = py27, py35, py36, py37, pep8 |
| 3 | |
| 4 | [testenv] |
| 5 | usedevelop = True |
| 6 | sitepackages = False |
| 7 | deps = |
| 8 | pytest |
| 9 | -r{toxinidir}/requirements.txt |
| 10 | commands = |
| 11 | pytest {posargs} |
| 12 | |
| 13 | [testenv:pep8] |
| 14 | basepython = python3 |
| 15 | deps = flake8 |
| 16 | flake8-import-order |
| 17 | flake8-blind-except |
| 18 | flake8-builtins |
| 19 | flake8-docstrings |
| 20 | flake8-rst-docstrings |
| 21 | flake8-logging-format |
| 22 | commands = flake8 |
| 23 | |
| 24 | |
| 25 | [flake8] |
| 26 | exclude = .tox,.eggs |
| 27 | show-source = true |
| 28 | ignore = D100,D101,D102,D103,D104,D105,D107,G200,G201,W503,W504 |
| 29 | enable-extensions=G |