other: Use "ruff check" instead of just "ruff" as recommended by ruff

This is as of ruff 0.3.0. See here:
https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md#030
This commit is contained in:
June 2024-06-06 01:07:39 +02:00
parent cb9f2e3a11
commit c7f7771e26
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0

View file

@ -66,12 +66,12 @@ dependencies = [
[tool.hatch.envs.lint.scripts] [tool.hatch.envs.lint.scripts]
typing = "mypy --install-types --non-interactive {args:src/infra_rebuild tests}" typing = "mypy --install-types --non-interactive {args:src/infra_rebuild tests}"
style = [ style = [
"ruff {args:.}", "ruff check {args:.}",
"black --check --diff {args:.}", "black --check --diff {args:.}",
] ]
fmt = [ fmt = [
"black {args:.}", "black {args:.}",
"ruff --fix {args:.}", "ruff check --fix {args:.}",
"style", "style",
] ]
all = [ all = [