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>
This commit is contained in:
2026-02-26 18:30:32 +01:00
commit 9fabbdefc0
75 changed files with 447515 additions and 0 deletions

42
tox.ini Normal file
View File

@@ -0,0 +1,42 @@
[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}