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=" "