Skip to content

Commit d8721c0

Browse files
Enforce ruff/Pylint Warnings (PLW)
1 parent 6211d2f commit d8721c0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ extend-select = [
261261
"W", # pycodestyle warnings
262262
"PGH", # pygrep-hooks
263263
"PLE", # Pylint Errors
264+
"PLW", # Pylint Warnings
264265
"UP", # pyupgrade
265266
"FURB", # refurb
266267
"RUF",
@@ -276,6 +277,10 @@ ignore = [
276277
"PERF203", # try-except within a loop incurs performance overhead
277278
"E402", # module level import not at top of file
278279
"E731", # do not assign a lambda expression, use a def
280+
"PLW0603", # using the global statement to update is discouraged
281+
"PLW0642", # reassigned `self` variable in instance method
282+
"PLW1641", # object does not implement `__hash__` method
283+
"PLW2901", # `for` loop variable overwritten by assignment target
279284
"UP007", # use X | Y for type annotations
280285
"FURB105", # unnecessary empty string passed to `print`
281286
"RUF001", # string contains ambiguous unicode character

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy