mirror of
https://github.com/tcsenpai/Zundler.git
synced 2025-06-07 03:55:26 +00:00
33 lines
489 B
INI
33 lines
489 B
INI
[tox]
|
|
minversion = 2.0
|
|
envlist = py{34,35,36,py},style
|
|
|
|
[testenv]
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
commands=
|
|
pytest
|
|
|
|
[testenv:mypy]
|
|
description =
|
|
Run type checks.
|
|
deps =
|
|
mypy
|
|
commands=
|
|
mypy sphinxcontrib
|
|
|
|
[testenv:style]
|
|
description =
|
|
Run style checks.
|
|
deps =
|
|
flake8
|
|
isort
|
|
yapf
|
|
commands =
|
|
isort -rc -c -df sphinxcontrib tests
|
|
yapf -rd sphinxcontrib tests
|
|
flake8 sphinxcontrib tests setup.py
|
|
|
|
[travis]
|
|
python =
|
|
3.6: py36, mypy, style
|