From cb900280342bf7fdae46c9223f6dc195a4012343 Mon Sep 17 00:00:00 2001 From: Michael Oliver Date: Mon, 21 Feb 2022 18:28:00 +0000 Subject: [PATCH] Use `strict = true` for mypy --- pyproject.toml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 77c01322fe6b0..cb6b35e0ccca5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"