1
0
Fork 0
forked from github/pelican
pelican-theme/tox.ini

45 lines
825 B
INI
Raw Normal View History

2011-07-02 15:54:24 -05:00
[tox]
2020-10-12 18:38:46 +03:00
envlist = py{3.5,3.6,3.7,3.8,3.9},docs,flake8
2011-07-02 15:54:24 -05:00
[testenv]
basepython =
py3.5: python3.5
py3.6: python3.6
py3.7: python3.7
py3.8: python3.8
2020-10-12 18:38:46 +03:00
py3.9: python3.9
2015-05-13 21:08:39 +02:00
passenv = *
usedevelop=True
deps =
-rrequirements/test.pip
commands =
{envpython} --version
pytest -s --cov=pelican pelican
[testenv:docs]
basepython = python3.6
deps =
-rrequirements/docs.pip
changedir = docs
commands =
2015-06-19 19:20:48 +02:00
sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
2015-06-08 12:50:35 +02:00
[pytest]
filterwarnings =
default::DeprecationWarning
error:.*:Warning:pelican
addopts = -n auto -r a
2015-06-08 12:50:35 +02:00
[flake8]
application-import-names = pelican
import-order-style = cryptography
max-line-length = 88
2015-06-08 12:50:35 +02:00
[testenv:flake8]
basepython = python3.6
2015-06-08 12:50:35 +02:00
deps =
-rrequirements/style.pip
2015-06-08 12:50:35 +02:00
commands =
2015-06-16 09:25:09 +02:00
flake8 --version
2015-06-08 12:50:35 +02:00
flake8 pelican