Skip to content

Commit

Permalink
Modernize ruff config
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Jun 30, 2024
1 parent 4b94618 commit 321d65b
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,6 +46,8 @@ Home = "https://github.com/sbidoul/runboat"
[tool.ruff]
fix = true
target-version = "py310"

[tool.ruff.lint]
select = [
"F", # pyflakes
"E", # pycodestyle
Expand All @@ -59,10 +61,10 @@ select = [
"RUF",
]

[tool.ruff.mccabe]
[tool.ruff.lint.mccabe]
max-complexity = 15

[tool.ruff.isort]
[tool.ruff.lint.isort]
known-first-party = ["runboat"]

# pytest
Expand Down

0 comments on commit 321d65b

Please sign in to comment.