Skip to content

Commit

Permalink
Update ruff.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
AAriam committed Nov 13, 2023
1 parent 57923de commit 51efa00
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .meta/package/tools/ruff.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# https://docs.astral.sh/ruff/configuration

[tool.ruff]
required-version = "0.0.290"
required-version = "0.1.5"
cache-dir = "${{ path.dir.local.cache.ruff }}"
format = "grouped"
output-format = "grouped"
ignore-init-module-imports = true
line-length = 100
show-fixes = true
Expand Down Expand Up @@ -42,9 +42,13 @@ select = [
"PL", # pylint
"RUF", # ruff-specific rules
]
ignore = ["PLR1711"]
src = ["${{path.dir.source}}", "${{path.dir.tests}}"]
include = ["*.py", "*.pyi", "**/pyproject.toml", "*.ipynb"]

[tool.ruff.lint.per-file-ignores]
"${{ path.dir.tests }}/src" = ["S101"]

[tool.ruff.flake8-annotations]
allow-star-arg-any = true
suppress-dummy-args = true
Expand Down

0 comments on commit 51efa00

Please sign in to comment.