Skip to content

Commit

Permalink
add PIE rules to ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
helylle committed Nov 29, 2024
1 parent 5c8ff0e commit e8d9c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ line-length = 120
target-version = "py311"

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

# ANN101 and ANN102 are depracated
ignore = ["E501", "ANN1"]
Expand Down

0 comments on commit e8d9c1f

Please sign in to comment.