Add optionals group to pyproject.toml and sync tests

Introduces an 'optionals' dependency group in pyproject.toml. There was a discrepancy because they had been added to requirements.txt at some point during the last few commits but not to .toml. Update on test_requirements.py to include and validate these optional dependencies. Enhances test logic to ensure all main, dev, and optional dependencies are checked for environment consistency.
This commit is contained in:
Jon Ander Oribe
2026-02-01 17:03:00 +01:00
parent 36f8349bc7
commit cc5ccf75a2
2 changed files with 34 additions and 18 deletions

View File

@@ -52,6 +52,14 @@ dev = [
"types-flask>=1.1.0",
]
optionals = [
"scipy>=1.10.0",
"qrcode[pil]>=7.4",
"numpy>=1.24.0",
"meshtastic>=2.0.0",
"psycopg2-binary>=2.9.9"
]
[project.scripts]
intercept = "intercept:main"