From 16ef66a4ddd022a6d55930af9fe4e3ca52fa003e Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Fri, 29 Sep 2023 16:32:01 +0100 Subject: [PATCH] Enable useless-supression with pylint (#3793) --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 84b8cfc3c3..04e04b2aa7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -155,6 +155,9 @@ disable = [ # https://github.com/PyCQA/pylint/issues/8453 "preferred-module", ] +enable = [ + "useless-suppression", # Identify unneeded pylint disable statements +] [tool.pylint.TYPECHECK] # pylint is unable to detect Namespace attributes and will throw a E1101