Skip to content

Commit

Permalink
Fix ruff warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Feb 6, 2024
1 parent 87e7399 commit abd18e5
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 @@ -172,6 +172,8 @@ line-length = 79

[tool.ruff]
src = ["src", "tests", "noxfile.py"]

[tool.ruff.lint]
select = ["ALL"]
ignore = [
"A001", # shadowing is fine
Expand All @@ -195,7 +197,7 @@ ignore = [
"TD", # we don't follow other people's todo style
]

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"src/argon2/__main__.py" = ["T201"] # need print in CLI
"tests/*" = [
"ARG", # stubs don't care about arguments
Expand All @@ -208,6 +210,6 @@ ignore = [
]


[tool.ruff.isort]
[tool.ruff.lint.isort]
lines-between-types = 1
lines-after-imports = 2

0 comments on commit abd18e5

Please sign in to comment.