Skip to content

Commit

Permalink
style: Update ruff linting rules
Browse files Browse the repository at this point in the history
Remove deprecated rules and enable preview rules

Signed-off-by: Sietze van Buuren <[email protected]>
  • Loading branch information
swvanbuuren committed Nov 27, 2024
1 parent afef229 commit d60bf20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ line-length = 80
indent-width = 4

[tool.ruff.lint]
preview = true
extend-select = [
"D419", # empty-docstring
"E501", # line-too-long
Expand All @@ -58,7 +59,6 @@ extend-select = [
"PLC2401", # non-ascii-name
"PLC2801", # unnecessary-dunder-call
"PLC3002", # unnecessary-direct-lambda-call
"E999", # syntax-error
"PLE0101", # return-in-init
"F706", # return-outside-function
"F704", # yield-outside-function
Expand Down

0 comments on commit d60bf20

Please sign in to comment.