-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
62 lines (57 loc) · 999 Bytes
/
Copy pathtox.ini
File metadata and controls
62 lines (57 loc) · 999 Bytes
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
[tox]
envlist =
ruff
pylint
py{310,311,312,313,314}
pypy{3}
mypy
[testenv]
deps =
-r{toxinidir}/requirements_dev.txt
commands =
{envpython} -m tests {posargs}
setenv =
PYTHONDONTWRITEBYTECODE=1
usedevelop = true
[testenv:mainline]
commands =
{envpython} -m nfsn_ddns {posargs}
setenv =
{[testenv]setenv}
PYTHONUNBUFFERED=1
passenv =
*
[testenv:ruff]
deps =
{[testenv]deps}
ruff: ruff==0.15.12
setenv =
{[testenv]setenv}
RUFF_CACHE_DIR={toxworkdir}/.ruff_cache
commands =
ruff \
check \
nfsn_ddns \
tests
[testenv:pylint]
deps =
{[testenv]deps}
pylint: pylint==4.0.5
setenv =
{[testenv]setenv}
PYLINTHOME={toxworkdir}/.pylint_cache
commands =
pylint \
nfsn_ddns \
tests
[testenv:mypy]
deps =
{[testenv]deps}
-r{toxinidir}/requirements_types.txt
mypy: mypy==1.20.2
setenv =
{[testenv]setenv}
MYPY_CACHE_DIR={toxworkdir}/.mypy_cache
commands =
mypy \
nfsn_ddns