Add pre-commit framework and hooks config
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user