From 0cda6e020810ddcd4d5c5315fe82968546100055 Mon Sep 17 00:00:00 2001 From: Alexander Pivovarov Date: Thu, 26 Sep 2024 22:05:47 +0000 Subject: [PATCH] Remove unsupported message codes from pylint and other minor improvements --- pyproject.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3423783e2407..1db5f252e6a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,7 +73,7 @@ doctest_optionflags = [ addopts = "--doctest-glob='*.rst' --ignore='examples/ffi'" [tool.pylint.master] -extension-pkg-whitelist = "numpy" +extension-pkg-whitelist = ["numpy"] [tool.pylint."messages control"] disable = [ @@ -82,7 +82,6 @@ disable = [ "invalid-name", "redefined-outer-name", "redefined-builtin", - "protected-name", "no-else-return", "fixme", "protected-access", @@ -91,7 +90,7 @@ disable = [ "too-few-public-methods", "unnecessary-lambda" ] -enable = "c-extension-no-member" +enable = ["c-extension-no-member"] [tool.pylint.format] indent-string=" "