chore: make fmt command more forgiving (#10315)

* chore: make fmt command more forgiving

* update pre-commit hooks
This commit is contained in:
Stefano Fiorucci
2026-01-08 10:43:44 +01:00
committed by GitHub
parent 2f30328c8e
commit dd7e868e21
2 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ repos:
args: [--markdown-linebreak-ext=md, --markdown-linebreak-ext=mdx]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.13.0
rev: v0.14.0
hooks:
- id: ruff-check
args: [ --fix ]
@@ -33,7 +33,7 @@ repos:
- tomli
- repo: https://github.com/rhysd/actionlint
rev: v1.7.9
rev: v1.7.10
hooks:
- id: actionlint-docker
args: ["-ignore", "SC2102"]

View File

@@ -77,7 +77,7 @@ dependencies = [
[tool.hatch.envs.default.scripts]
release-note = "reno new {args}"
fmt = "ruff check --fix {args} && ruff format {args}"
fmt = "ruff check --fix {args}; ruff format {args}"
fmt-check = "ruff check {args} && ruff format --check {args}"
docs = "./.github/utils/pydoc-markdown.sh"