Skip to content

Commit

Permalink
Enforce ruff/pyupgrade rules (UP)
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Oct 12, 2024
1 parent 3e225f7 commit 2c662a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ select = [
"RUF024",
"SLOT",
"SIM101",
"UP",
]
ignore = [
# Loop control variable `loop` not used within loop body
Expand All @@ -206,6 +207,10 @@ ignore = [
# Fix these codes later
"G004",
"PERF203",
"UP007",
"UP011",
"UP015",
"UP018",
# https://github.com/astral-sh/ruff/issues/7871
"UP038",
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
Expand Down

0 comments on commit 2c662a7

Please sign in to comment.