Add pre-commit framework and hooks config

This commit is contained in:
2025-11-15 07:53:04 +00:00
parent be9867a007
commit 5f8d6c03d8
7 changed files with 397 additions and 20 deletions

View File

@@ -12,9 +12,18 @@ packages = [{include = "resrm", from = "src"}]
[tool.poetry.dependencies]
python = "^3.13"
[tool.poetry.dev-dependencies]
pre-commit = "^3.8"
bandit = "^1.7"
black = "^25.0"
[tool.poetry.scripts]
resrm = "resrm.cli:main"
[tool.black]
line-length = 79
target-version = ["py313"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"