Skip to content

Commit 16ef66a

Browse files
authored
Enable useless-supression with pylint (#3793)
1 parent 7e38162 commit 16ef66a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ disable = [
155155
# https://github.com/PyCQA/pylint/issues/8453
156156
"preferred-module",
157157
]
158+
enable = [
159+
"useless-suppression", # Identify unneeded pylint disable statements
160+
]
158161

159162
[tool.pylint.TYPECHECK]
160163
# pylint is unable to detect Namespace attributes and will throw a E1101

0 commit comments

Comments
 (0)