-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathtox.ini
49 lines (42 loc) · 907 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
46
47
48
49
[tox]
envlist = py310,py311,py312, pypy, flake8, manifest, docs, dev
[testenv]
deps =
-rtox-requirements.txt
commands =
pytest -v --cov=ramlfications --cov-report=xml
; experiment to see if pypy tests run faster on Travis without coverage
[testenv:pypy]
basepython = pypy
setenv =
LC_ALL=en_US.utf-8
LANG=en_US.utf-8
deps = -rtox-requirements.txt
commands =
pytest -v
[pep8]
exclude = docs/
ignore = E221,W503,W504,F901
[flake8]
exclude = docs/
ignore = E221,W503,W504,F901
[testenv:flake8]
basepython = python3
deps =
flake8
commands =
flake8 ramlfications tests --exclude=docs/ --ignore=E221,F405,W503,W504,F901
[testenv:manifest]
basepython = python3
deps =
check-manifest
commands =
check-manifest
[testenv:docs]
basepython = python3
setenv =
LC_ALL=C.UTF-8
deps =
sphinx
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build