mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-24 12:43:22 +08:00
chore: make fmt command more forgiving (#10315)
* chore: make fmt command more forgiving * update pre-commit hooks
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user