Ajoute pyproject.toml (pytest strict markers, coverage fail_under=55), requirements-dev.txt (pytest-cov, pytest-xdist), et tests/conftest.py avec fixtures partagées (dossier_minimal, dossier_complet, controle_cpam). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
23 lines
511 B
TOML
23 lines
511 B
TOML
[build-system]
|
|
requires = ["setuptools>=68.0"]
|
|
build-backend = "setuptools.backends._legacy:_Backend"
|
|
|
|
[project]
|
|
name = "t2a"
|
|
version = "2.0.0"
|
|
requires-python = ">=3.12"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = "--strict-markers -x -q"
|
|
markers = ["integration: tests requiring Ollama"]
|
|
|
|
[tool.coverage.run]
|
|
source = ["src"]
|
|
omit = ["src/viewer/templates/*"]
|
|
|
|
[tool.coverage.report]
|
|
fail_under = 55
|
|
show_missing = true
|
|
exclude_lines = ["pragma: no cover", "if __name__", "except ImportError"]
|