-
Notifications
You must be signed in to change notification settings - Fork 9
/
tox.ini
56 lines (53 loc) · 944 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
50
51
52
53
54
55
56
[tox]
min_version = 4.18.0
envlist =
py{38,39,310,311,312}
lint
docs
requires =
flit >=3.9.0,<4.0
pip >= 23.3.0
opts = -v
[testenv:lint]
skip_install = True
basepython = python
deps =
black >= 24.8.0
flake8 >= 7.0.0
isort >= 5.13.2
deptry >=0.20.0
commands_pre =
pip list
commands =
make lint
allowlist_externals =
make
[testenv:docs]
extras = docs
deps =
commands =
make --directory=docs clean html
allowlist_externals =
make
[testenv]
setenv =
COV_CORE_SOURCE =
PYTEST_ADDOPTS = --numprocesses=logical --durations=10 --cov=clisops --cov-report=term-missing
PYTHONPATH = {toxinidir}
passenv =
CI
GDAL_VERSION
GITHUB_*
COVERALLS_*
LD_LIBRARY_PATH
extras = dev
install_command = python -m pip install --no-user {opts} {packages}
download = True
deps =
coveralls >=4.0.1
commands_pre =
pip list
pip check
commands =
pytest
- coveralls