Files
felice-models/tox.ini
F.M. Quintana Velazquez 9fabbdefc0 Initial commit
Co-authored-by: Aradhana Dube <a.dube@rug.nl>
Co-authored-by: Renzo I. Barraza Altamirano <r.i.barraza.altamirano@rug.nl>
Co-authored-by: Paolo Gibertini <p.gibertini@rug.nl>
Co-authored-by: Luca D. Fehlings <l.d.fehlings@rug.nl>
2026-02-27 17:43:31 +01:00

43 lines
910 B
INI

[tox]
requires =
tox>=4.33.0
tox-uv>=1.29.0
env_list = type, lint, 3.14, 3.13, 3.12, 3.11
[testenv]
description = Run test under {base_python}
deps =
pytest>=9.0.2
pytest-sugar>=1.1.1
commands =
uv pip install .[local]
pytest {posargs:tests}
[testenv:lint]
description = Run linters
skip_install = true
deps =
ruff>=0.14.9
commands =
ruff check {posargs:src tests scripts}
ruff format --check {posargs:src tests scripts}
[testenv:format]
description = Run code formatting
skip_install = true
deps =
ruff>=0.14.9
commands =
ruff check --fix {posargs:src tests scripts}
ruff check --select I --fix {posargs:src tests scripts}
ruff format {posargs:src tests scripts}
[testenv:type]
description = run type checker
deps =
mypy>=1.19.1
commands =
uv pip install .[local]
uv pip install pandas-stubs types-tqdm
mypy {posargs:src tests scripts}