Skip to content

Commit

Permalink
ruff: adapt to 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xi committed Mar 1, 2024
1 parent a650cba commit 5e98c60
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,15 @@ mfa = [

[tool.ruff]
exclude = ["migrations"]

[tool.ruff.lint]
select = ["E", "F", "W", "C9", "I", "Q", "UP", "RUF"]
ignore = ["RUF012"]

[tool.ruff.flake8-quotes]
[tool.ruff.lint.flake8-quotes]
inline-quotes = "single"

[tool.ruff.isort]
[tool.ruff.lint.isort]
force-single-line = true

[tool.coverage.run]
Expand Down

0 comments on commit 5e98c60

Please sign in to comment.