🏷️ Add mypy to the GitHub Action for tests and fixed types in the whole project (#655)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
Esteban Maya
2024-03-10 14:47:21 -05:00
committed by GitHub
parent 6607eaded4
commit a230f4fb2c
19 changed files with 106 additions and 79 deletions

View File

@@ -35,6 +35,9 @@ mypy = "^1.8.0"
ruff = "^0.2.2"
pre-commit = "^3.6.2"
pytest-mock = "^3.12.0"
types-python-jose = "^3.3.4.20240106"
types-passlib = "^1.7.7.20240106"
celery-types = "^0.22.0"
[tool.isort]
multi_line_output = 3
@@ -47,6 +50,7 @@ build-backend = "poetry.masonry.api"
[tool.mypy]
strict = true
exclude = ["venv", "alembic"]
[tool.ruff]
target-version = "py310"