Skip to content

Commit

Permalink
Use strict = true for mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Oliver committed Feb 21, 2022
1 parent 440d2d2 commit cb90028
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions pyproject.toml
Expand Up @@ -101,21 +101,7 @@ profile = "black"
known_third_party = ["fastapi", "pydantic", "starlette"]

[tool.mypy]
# --strict
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
implicit_reexport = false
strict_equality = true
# --strict end
strict = true

[[tool.mypy.overrides]]
module = "fastapi.concurrency"
Expand Down

0 comments on commit cb90028

Please sign in to comment.