From 31de2fd8d9d9b87fb6ec5aa36d7fedcae3f97587 Mon Sep 17 00:00:00 2001 From: Florian Frantzen Date: Fri, 21 Jun 2024 20:46:43 +0200 Subject: [PATCH] Update mypy config --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1585f54c..8d912ffe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -119,8 +119,9 @@ include = [ [tool.mypy] warn_redundant_casts = true +warn_unreachable = true warn_unused_ignores = true -show_error_codes = true +enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"] disable_error_code = ["import-untyped"] plugins = "numpy.typing.mypy_plugin"