Skip to content

Commit

Permalink
skip 2 perf rules for now
Browse files Browse the repository at this point in the history
  • Loading branch information
helylle committed Sep 18, 2024
1 parent 3ac16b8 commit 90ffa40
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ line-length = 120
target-version = "py310"

[lint]
select = ["E", "F", "W", "I", "ASYNC", "UP", "FLY", "PERF1", "FURB"]
select = ["E", "F", "W", "I", "ASYNC", "UP", "FLY", "PERF", "FURB"]

# For now, ignore E501 (line too long) errors. They are in strings and comments.
ignore = ["E501"]
# For now, ignore PERF203 (try-except-in-loop), TODO: fix them.
# For now, ignore PERF401 (manual-list-comprehension), TODO: fix them.
ignore = ["E501", "PERF203", "PERF401"]

0 comments on commit 90ffa40

Please sign in to comment.