Skip to content

Commit

Permalink
Ignore stupid ruff rules for if/elif/return
Browse files Browse the repository at this point in the history
  • Loading branch information
opcode81 committed Jun 12, 2024
1 parent 20562ec commit 1f1779a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ ignore = [
"PLW0603", # using global statement
"B018", # strip useless expressions in notebooks. These "useless expressions" often serve as a way to display output
"RUF012", # forbids mutable types for class attributes
"SIM102", "RET507", # forbids freedom in specification if/elif and return
]
unfixable = []
extend-fixable = [
Expand Down

0 comments on commit 1f1779a

Please sign in to comment.