test(linter): use pdm for linter installation

Refs: #5
Signed-off-by: Klagarge <remi@heredero.ch>
This commit is contained in:
2025-03-19 21:56:44 +01:00
parent eda58ace70
commit 5e926d7674
4 changed files with 74 additions and 14 deletions

View File

@@ -23,4 +23,12 @@ distribution = false
[tool.pdm.scripts]
flask.cmd = "flask run -p 5000 --debug"
flask.env = {FLASK_ENV = "development"}
shell.cmd = "sh"
shell.cmd = "sh"
[dependency-groups]
test = [
"pytest>=8.3.5",
"pytest-cov>=6.0.0",
]
lint = [
"flake8>=7.1.2",
]