From 441831b433126a40535c20da05382f16bb727152 Mon Sep 17 00:00:00 2001 From: Michael Oliver Date: Wed, 31 Aug 2022 14:09:04 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Update=20mypy=20config,=20use=20?= =?UTF-8?q?`strict=20=3D=20true`=20instead=20of=20manual=20configs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b63195ac..dd298d13 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,21 +73,7 @@ skip_glob = [ [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 = "docs_src.*"