2026-07-25 17:49:11 -04:00
|
|
|
[project]
|
|
|
|
|
name = "veille-legislative-971"
|
|
|
|
|
version = "1.0.0"
|
|
|
|
|
description = "Pipeline de veille législative française — impacts sur les libertés, zoom Guadeloupe"
|
|
|
|
|
readme = "README.md"
|
2026-07-25 22:59:20 -04:00
|
|
|
# Plancher abaissé à 3.11 pour couvrir Debian 12, sur laquelle repose YunoHost
|
|
|
|
|
# 12 : c'est la cible de déploiement réelle. Le code n'emploie aucune
|
|
|
|
|
# construction propre à 3.12 — la suite complète et le seed ont été rejoués sur
|
|
|
|
|
# 3.11.14 avant d'abaisser cette borne. Pas de borne haute : 3.13 passe aussi.
|
|
|
|
|
requires-python = ">=3.11"
|
2026-07-25 17:49:11 -04:00
|
|
|
license = { text = "AGPL-3.0-or-later" }
|
|
|
|
|
dependencies = [
|
|
|
|
|
"httpx==0.28.1",
|
|
|
|
|
"selectolax==0.3.27",
|
|
|
|
|
"pydantic==2.10.6",
|
|
|
|
|
"structlog==25.1.0",
|
|
|
|
|
"python-dotenv==1.0.1",
|
|
|
|
|
"pyyaml==6.0.2",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[project.optional-dependencies]
|
|
|
|
|
dev = [
|
|
|
|
|
"pytest==8.3.4",
|
|
|
|
|
"pytest-cov==6.0.0",
|
|
|
|
|
"ruff==0.9.6",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[project.scripts]
|
|
|
|
|
veille-seed = "pipeline.seed_from_research:main"
|
|
|
|
|
veille-update = "pipeline.update:main"
|
|
|
|
|
|
|
|
|
|
[build-system]
|
|
|
|
|
requires = ["hatchling"]
|
|
|
|
|
build-backend = "hatchling.build"
|
|
|
|
|
|
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
|
|
|
packages = ["pipeline"]
|
|
|
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
|
testpaths = ["tests"]
|
|
|
|
|
addopts = "-q"
|
|
|
|
|
|
|
|
|
|
[tool.coverage.run]
|
|
|
|
|
source = ["pipeline"]
|
|
|
|
|
omit = ["pipeline/collecteurs/*"]
|
|
|
|
|
|
|
|
|
|
[tool.ruff]
|
|
|
|
|
line-length = 100
|
2026-07-25 22:59:20 -04:00
|
|
|
target-version = "py311"
|
2026-07-25 17:49:11 -04:00
|
|
|
|
|
|
|
|
[tool.ruff.lint]
|
|
|
|
|
select = ["E", "F", "I", "UP", "B"]
|