Skip to content

Commit

Permalink
Merge pull request #209 from nucleic/ruff-fixes
Browse files Browse the repository at this point in the history
Fix ruff config
  • Loading branch information
MatthieuDartiailh authored Feb 5, 2024
2 parents a9e7fa3 + 4f5a7f3 commit 330b8fc
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,18 @@ __version__ = "{version}"

[tool.ruff]
src = ["src"]
select = ["C", "E", "F", "W", "I", "C90", "RUF"]
extend-ignore = ["E501", "RUF012"]
line-length = 88

[tool.ruff.isort]
combine-as-imports = true
known-first-party = ["atom"]
[tool.ruff.lint]
select = ["C", "E", "F", "W", "I", "C90", "RUF"]
extend-ignore = ["E501", "RUF012"]

[tool.ruff.mccabe]
max-complexity = 20
[tool.ruff.lint.isort]
combine-as-imports = true
known-first-party = ["atom"]

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

[tool.mypy]
follow_imports = "normal"
Expand Down

0 comments on commit 330b8fc

Please sign in to comment.