Skip to content

Commit

Permalink
Bump Ruff to version 0.2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
ikalnytskyi committed Feb 3, 2024
1 parent 284d21c commit 46da62b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,16 @@ scripts.run = "python -m pytest {args:-vv}"

[tool.hatch.envs.lint]
detached = true
dependencies = ["ruff >= 0.1.4"]
scripts.check = ["ruff {args:.}", "ruff format --check --diff {args:.}"]
scripts.fmt = ["ruff --fix {args:.}", "ruff format {args:.}"]
dependencies = ["ruff == 0.2.*"]
scripts.check = ["ruff check {args:.}", "ruff format --check --diff {args:.}"]
scripts.fmt = ["ruff check --fix {args:.}", "ruff format {args:.}"]

[tool.ruff]
[tool.ruff.lint]
select = ["F", "E", "W", "I", "S", "FBT", "B", "C4", "DTZ", "T10", "ISC", "RET", "SLF", "RUF"]
ignore = ["S603", "S701", "B904", "ISC001"]

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

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["E501", "S101", "S607", "SLF001", "RUF001"]

0 comments on commit 46da62b

Please sign in to comment.