forked from pyca/pynacl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
55 lines (50 loc) · 1.04 KB
/
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
50
51
52
53
54
55
[tox]
envlist = py{py3,36,37,38,39,310,311,312},docs,meta,mypy
isolated_build = True
[testenv]
extras =
tests
deps =
coverage
pretend
passenv =
SODIUM_INSTALL
SODIUM_INSTALL_MINIMAL
PYNACL_SODIUM_STATIC
LIB
INCLUDE
LIBSODIUM_MAKE_ARGS
commands =
coverage run --parallel-mode -m pytest --capture=no --strict-markers {posargs}
coverage combine
coverage report -m
[testenv:docs]
extras =
docs
deps =
doc8
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
sphinx-build -W -b doctest -d {envtmpdir}/doctrees docs docs/_build/html
sphinx-build -W -b linkcheck docs docs/_build/html
doc8 README.rst docs/ --ignore-path docs/_build/
[testenv:meta]
basepython = python3
deps =
black
flake8
flake8-import-order
check-manifest
commands =
flake8 .
black --check .
check-manifest . --ignore .travis.yml
[testenv:mypy]
deps =
mypy
commands =
mypy
[flake8]
ignore = E203,E501,W503,W504
select = E,W,F,I
application-import-names = nacl