Skip to content

Commit

Permalink
Remap TRY302 to TRY203.
Browse files Browse the repository at this point in the history
Adressing ruff warning: warning: `TRY302` has been remapped to `TRY203`.
  • Loading branch information
ogajduse committed Dec 12, 2024
1 parent 9c6bf51 commit 3345d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ select = [
"T100", # Trace found: {name} used
"T20", # flake8-print
"TRY004", # Prefer TypeError exception for invalid type
"TRY302", # Remove exception handler; error is immediately re-raised
"TRY203", # Remove exception handler; error is immediately re-raised
"PLR0911", # Too many return statements ({returns} > {max_returns})
"PLR2004", # Magic value used in comparison, consider replacing {value} with a constant variable
"PLW2901", # Outer {outer_kind} variable {name} overwritten by inner {inner_kind} target
Expand Down

0 comments on commit 3345d60

Please sign in to comment.