Skip to content

Commit

Permalink
Upgrade ruff configuration format (#1053)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinHjelmare committed Sep 5, 2024
1 parent 92120d5 commit 2b9f216
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,20 @@ expected-line-ending-format = "LF"
asyncio_mode = "auto"

[tool.ruff]
exclude = [
".venv",
".git",
".tox",
"docs",
"venv",
"bin",
"lib",
"deps",
"build",
]
line-length = 88

[tool.ruff.lint]
select = ["D", "E", "F", "G", "I", "PLC", "PLE", "PLR", "PLW", "UP", "W"]
ignore = [
"D202",
Expand All @@ -104,18 +118,6 @@ ignore = [
"UP006", # keep type annotation style as is
"UP007", # keep type annotation style as is
]
exclude = [
".venv",
".git",
".tox",
"docs",
"venv",
"bin",
"lib",
"deps",
"build",
]
line-length = 88

[tool.ruff.lint.isort]
force-sort-within-sections = true
Expand Down

0 comments on commit 2b9f216

Please sign in to comment.