-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
81 lines (77 loc) · 1.5 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[tox]
min_version = 4.18.0
envlist =
lint
py{39,310,311,312,313}
docs
requires =
flit >= 3.9.0,<4.0
pip >= 24.2.0
opts =
--verbose
[gh]
python =
3.9 = py39-coveralls
3.10 = py310-coveralls
3.11 = py311-coveralls
3.12 = py312-coveralls
3.13 = py313-coveralls
[testenv:lint]
skip_install = True
deps =
black ==24.8.0
blackdoc ==0.3.9
isort ==5.13.2
flake8 >=7.1.1
flake8-rst-docstrings >=0.3.0
ruff >=0.5.7
numpydoc >=1.8.0
commands_pre =
pip list
commands =
make lint
allowlist_externals =
make
[testenv:docs]
extras =
docs
commands =
mkdir {envtmpdir}/.esdoc
git clone https://github.com/ES-DOC/pyessv-archive.git {envtmpdir}/.esdoc/pyessv-archive
make docs
allowlist_externals =
git
make
mkdir
[testenv]
setenv =
HOME = {envtmpdir}
PYTEST_ADDOPTS = "--color=yes"
PYTHONPATH = {toxinidir}
passenv =
CI
GITHUB_*
COVERALLS_*
READTHEDOCS
extras =
dev
full: full
remote: remote
download = True
install_command = python -m pip install --no-user {opts} {packages}
deps =
coveralls
pytest-cov
pyston: pyston_lite_autoload
commands_pre =
pip list
pip check
commands =
mkdir {envtmpdir}/.esdoc
git clone https://github.com/ES-DOC/pyessv-archive.git {envtmpdir}/.esdoc/pyessv-archive
pytest --cov
; Coveralls requires access to a repo token set in .coveralls.yml in order to report stats
coveralls: - coveralls
allowlist_externals =
git
mkdir