Skip to content

Commit

Permalink
Update pyproject.toml ruff settings
Browse files Browse the repository at this point in the history
  • Loading branch information
coroa committed Feb 22, 2024
1 parent a2f1591 commit 1cec507
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 @@ -87,6 +87,8 @@ exclude = [
"doc",
"_typed_ops.pyi",
]

[tool.ruff.lint]
# E402: module level import not at top of file
# E501: line too long - let black worry about that
# E731: do not assign a lambda expression, use a def
Expand All @@ -109,11 +111,11 @@ select = [
"UP",
]

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
# F401: imported but unsued
"__init__.py" = ["F401"]

[tool.ruff.isort]
[tool.ruff.lint.isort]
lines-after-imports = 2
known-first-party = ["aneris"]

Expand Down

0 comments on commit 1cec507

Please sign in to comment.