From ee4197a186fab2c26fb41350110f08597f795438 Mon Sep 17 00:00:00 2001 From: PhilipMay Date: Tue, 2 Jan 2024 13:46:11 +0100 Subject: [PATCH] Add warn_unused_ignores and enable_error_code options to mypy configuration --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index bee07ad..ca1f30f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -168,4 +168,5 @@ notice-rgx = "(# Copyright \\(c\\) \\d{4}.*\\n)+# This software is distributed u [tool.mypy] ignore_missing_imports = true +warn_unused_ignores = true enable_error_code=["ignore-without-code"]