From 3c3445ca7d6e267022fb992c8ee0ced233deabee Mon Sep 17 00:00:00 2001 From: Chris Sewell Date: Tue, 29 Aug 2023 00:47:14 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Disallow=20some=20Any=20construc?= =?UTF-8?q?ts=20in=20typing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 7a92aa9df..e0ec398c9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -86,6 +86,12 @@ strict = true show_error_codes = true implicit_reexport = true namespace_packages = true +disallow_any_generics = true +disallow_subclassing_any = true +# disallow_any_unimported = true +# disallow_any_explicit = true +# disallow_any_expr = true +# disallow_any_decorated = true [[tool.mypy.overrides]] module = [