🏷️ 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:
@@ -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"
|
||||
|
Reference in New Issue
Block a user