forked from getpelican/pelican
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
45 lines (39 loc) · 828 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[tox]
envlist = py{3.6,3.7,3.8,3.9,3.10},docs,flake8
[testenv]
basepython =
py3.6: python3.6
py3.7: python3.7
py3.8: python3.8
py3.9: python3.9
py3.10: python3.10
passenv = *
usedevelop=True
deps =
-rrequirements/test.pip
commands =
{envpython} --version
pytest -s --cov=pelican pelican
[testenv:docs]
basepython = python3.7
deps =
-rrequirements/docs.pip
changedir = docs
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
[pytest]
filterwarnings =
default::DeprecationWarning
error:.*:Warning:pelican
addopts = -n auto -r a
[flake8]
application-import-names = pelican
import-order-style = cryptography
max-line-length = 88
[testenv:flake8]
basepython = python3.7
deps =
-rrequirements/style.pip
commands =
flake8 --version
flake8 pelican