From 3b3a1104291b8cdf49b3e45e2f12893057f88abc Mon Sep 17 00:00:00 2001 From: johnthagen Date: Tue, 9 Jul 2024 08:38:59 -0400 Subject: [PATCH] Enable explict override type checking (#235) --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 2f38d8c..e06a33b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,6 +73,9 @@ build-backend = "poetry.core.masonry.api" [tool.mypy] ignore_missing_imports = true strict = true +# TODO: Remove this when explicit-override is enabled by default in strict mode +# https://github.com/python/mypy/issues/17511 +enable_error_code = ["explicit-override"] # If certain strict config options are too pedantic for a project, # disable them selectively here by setting to false.