-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
88 lines (79 loc) · 1.43 KB
/
setup.cfg
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
82
83
84
85
86
87
88
[flake8]
exclude =
__pycache__
env
.env
venv
.venv
.git
.pytest_cache
.tox
htmlcov
bepatient.egg-info
max-line-length = 88
extend-ignore = E203
[tox:tox]
min_version = 4.23.2
env_list =
black
flake8
isort
mypy
py310
py311
py312
py313
pylint
ruff
isolated_build = true
[gh-actions]
python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
pytest==8.3.4
pytest-mock==3.14.0
responses==0.25.6
whitelist_externals = pytest
commands = pytest --basetemp={envtmpdir}
[testenv:black]
basepython = python3.13
deps = black==24.10.0
whitelist_externals = black
commands = black --check .
[testenv:flake8]
basepython = python3.13
deps = flake8==7.1.1
whitelist_externals = flake8
commands = flake8 bepatient tests
[testenv:isort]
basepython = python3.13
deps = isort==5.13.2
whitelist_externals = isort
commands = isort -c .
[testenv:mypy]
basepython = python3.13
deps =
mypy==1.14.1
responses==0.25.6
whitelist_externals = mypy
commands = mypy --install-types --non-interactive bepatient tests
[testenv:pylint]
basepython = python3.13
deps =
pylint==3.3.3
pytest==8.3.4
pytest-mock==3.14.0
responses==0.25.6
whitelist_externals = pylint
commands = pylint bepatient tests
[testenv:ruff]
basepython = python3.13
deps = ruff==0.9.2
whitelist_externals = ruff
commands = ruff check .