-
Notifications
You must be signed in to change notification settings - Fork 22
/
tox.ini
37 lines (33 loc) · 884 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
[tox]
envlist = py39, py310, py311, py312, py313, flake8
[gh-actions]
python =
3.13: py313
3.12: py312
3.11: py311
3.10: py310
3.9: py39
[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 dataclass_wizard tests
[testenv]
setenv =
PYTHONPATH = {toxinidir}
PYTEST_ADDOPTS = --ignore-glob=*integration*
deps =
-r{toxinidir}/requirements-dev.txt
-r{toxinidir}/requirements-test.txt
; 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 =
pip install -U pip
pytest --basetemp={envtmpdir}
# commands = pytest -s --cov-report=term-missing tests
[flake8]
ignore =
# F403: star import used
F403
# F405: variable may be undefined, or defined from star imports
F405