-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
66 lines (62 loc) · 1.25 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
[tox]
min_version = 4.18.0
envlist =
lint
py{39,310,311,312,313}
docs
coveralls
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[jupyter] ==24.8.0
blackdoc ==0.3.9
isort ==5.13.2
flake8 >=7.1.1
ruff >=0.5.7
numpydoc >=1.8.0
commands =
make lint
allowlist_externals =
make
[testenv:docs]
extras =
docs
commands =
make --directory=docs clean html
allowlist_externals =
make
[testenv]
setenv =
PYTEST_ADDOPTS = "--color=yes"
PYTHONPATH = {toxinidir}
passenv =
CI
COVERALLS_*
GITHUB_*
extras =
dev
download = True
install_command = python -m pip install --no-user {opts} {packages}
deps =
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following line:
; -r{toxinidir}/requirements.txt
commands_pre =
pip list
pip check
commands =
pytest --cov figanos
; Coveralls requires access to a repo token set in .coveralls.yml in order to report stats
coveralls: - coveralls