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:
parent
cb9f2e3a11
commit
c7f7771e26
|
@ -66,12 +66,12 @@ dependencies = [
|
|||
[tool.hatch.envs.lint.scripts]
|
||||
typing = "mypy --install-types --non-interactive {args:src/infra_rebuild tests}"
|
||||
style = [
|
||||
"ruff {args:.}",
|
||||
"ruff check {args:.}",
|
||||
"black --check --diff {args:.}",
|
||||
]
|
||||
fmt = [
|
||||
"black {args:.}",
|
||||
"ruff --fix {args:.}",
|
||||
"ruff check --fix {args:.}",
|
||||
"style",
|
||||
]
|
||||
all = [
|
||||
|
|
Loading…
Reference in a new issue