Skip to content

Commit

Permalink
update ruff rules
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Dec 27, 2024
1 parent 28676e0 commit 5388ca5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ ignore = [
"PTH", # flake8-use-pathlib
"PYI", # flake8-pyi (python types stuff)
"Q000", # Single quotes found but double quotes preferred
"RET", # flake8-return
"RET503", # Missing explicit `return` at the end of function able to return non-`None` value
"RET504", # Unnecessary assignment to `result` before `return` statement
"RET505", # [*] Unnecessary `else` after `return` statement
"RUF005", # Consider iterable unpacking instead of concatenation
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
"RUF022", # `__all__` is not sorted
Expand Down

0 comments on commit 5388ca5

Please sign in to comment.