[`pylint`] Detect subclasses of builtin exceptions (`PLW0133`) #21382
feat: detect custom exceptions in useless_expression_statement
b19f92dd
update documentation
a300bff3
test: move test in violation category
2136ed1a
test: add tests with a custom Exception and custom ValueError
19d67706
LoicRiegel
changed the title improvement: detect custom exception in useless_expression_statement improvement: detect custom exceptions in useless_expression_statement 28 days ago
ntBre
commented
on 2025-11-17
amyreese
changed the title improvement: detect custom exceptions in useless_expression_statement [`pylint`] improve `PLW0133` to detect custom exceptions in useless_expression_statement 22 days ago
add MySubError test cases
274805fc
add preview comment in docstring
ab145e1a
check custom errors only in preview mode
9526f469
test preview rules
069c8b36
add preview comments inside fixture to indicate which line is preview…
4e72fc27
ntBre
commented
on 2025-12-08
Revert "add preview comments inside fixture to indicate which line is…
5621df37
rule documentation
c18f3839
ntBre
approved these changes
on 2025-12-09
ntBre
changed the title [`pylint`] improve `PLW0133` to detect custom exceptions in useless_expression_statement [`pylint`] Detect subclasses of builtin exceptions (`PLW0133`) 19 hours ago
ntBre
merged
9490fbf1
into main 19 hours ago
LoicRiegel
deleted the feat/detect-custom-exception-in-useless_expression_statement branch 6 hours ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub