Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgenengelsen committed Sep 15, 2023
1 parent b3a5460 commit d19d1e8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ repos:
- types-requests
- types-ujson
- types-toml
- pydantic

# The path to the venv python interpreter differ between linux and windows. An if/else is used to find it on either.
- repo: local
Expand Down
8 changes: 8 additions & 0 deletions api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,19 @@ requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.mypy]

[tool.mypy]

plugins = ["pydantic.mypy"]

ignore_missing_imports = true
warn_return_any = true
warn_unused_configs = true
namespace_packages = true
explicit_package_bases = true
allow_subclassing_any = true

strict = true


[tool.ruff]
Expand Down

0 comments on commit d19d1e8

Please sign in to comment.