-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
86 lines (77 loc) · 1.41 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
[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.7.0
env_list =
black
flake8
isort
mypy
py310
py311
py312
pylint
ruff
isolated_build = true
[gh-actions]
python =
3.10: py310
3.11: py311
3.12: py312
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
pytest==7.4.0
pytest-mock==3.11.1
responses==0.24.1
whitelist_externals = pytest
commands = pytest --basetemp={envtmpdir}
[testenv:black]
basepython = python3.11
deps = black==23.7.0
whitelist_externals = black
commands = black --check .
[testenv:flake8]
basepython = python3.11
deps = flake8==6.1.0
whitelist_externals = flake8
commands = flake8 bepatient tests
[testenv:isort]
basepython = python3.11
deps = isort==5.12.0
whitelist_externals = isort
commands = isort -c .
[testenv:mypy]
basepython = python3.11
deps =
mypy==1.4.1
responses==0.24.1
whitelist_externals = mypy
commands = mypy --install-types --non-interactive bepatient tests
[testenv:pylint]
basepython = python3.11
deps =
pylint==2.17.5
pytest==7.4.0
pytest-mock==3.11.1
responses==0.24.1
whitelist_externals = pylint
commands = pylint bepatient tests
[testenv:ruff]
basepython = python3.11
deps = ruff==0.0.282
whitelist_externals = ruff
commands = ruff check .