forked from spotify/confidence
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
50 lines (45 loc) · 1.09 KB
/
tox.ini
File metadata and controls
50 lines (45 loc) · 1.09 KB
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
[tox]
envlist = py39, py310, py311, py312, py39-min
isolated_build = True
requires = tox-uv
[gh-actions]
python =
3.9: py39-min
3.10: py310
3.11: py311
3.12: py312
[testenv]
extras = dev
commands =
black --check --diff spotify_confidence tests
flake8 spotify_confidence tests
pytest -n auto --no-cov --basetemp={envtmpdir} {posargs}
[testenv:py312]
extras = dev
commands =
black --check --diff spotify_confidence tests
flake8 spotify_confidence tests
pytest -n auto --basetemp={envtmpdir} {posargs}
[testenv:py39-min]
basepython = python3.9
deps =
numpy==1.21.0
scipy==1.9.0
pandas==1.4.0
statsmodels==0.13.5
chartify==5.0.0
ipywidgets==8.0.0
black==23.7.0
flake8==6.0.0
pytest==7.0.0
pytest-cov==4.0.0
pytest-xdist==3.0.2
coverage==7.0.0
commands =
black --check --diff spotify_confidence tests
flake8 spotify_confidence tests
pytest -n auto --no-cov --basetemp={envtmpdir} {posargs}
[flake8]
max-line-length = 120
ignore = E203,E231,W503
exclude = .venv,.tox,.git,dist,docs,*.egg,build,scratch.py,confidence_dev