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]
|
[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 = [
|
||||||
|
|
Loading…
Reference in a new issue