Adds PoeThePoet and PreCommit

This commit is contained in:
2024-05-21 20:34:50 -03:00
parent a1077e812f
commit 000cb08e37
4 changed files with 188 additions and 1 deletions

View File

@@ -20,12 +20,22 @@ python-multipart = "^0.0.9"
virustotal-python = "^1.0.2"
fastapi-utils = "^0.6.0"
typing-inspect = "^0.9.0"
poethepoet = "^0.26.1"
[tool.poetry.group.dev.dependencies]
isort = "^5.12.0"
black = "^23.7.0"
coverage = "^7.5.1"
pre-commit = "^3.7.1"
[tool.poe.tasks]
'run' = "python -m storage_service"
'create-hooks' = "bash .githooks/set-hooks.sh"
'test' = "coverage run -m unittest -v"
[build-system]
requires = ["poetry-core"]