Skip to content

Commit

Permalink
yamlfmt pre-commit hook pass args -formatter retain_line_breaks=true
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Sep 24, 2024
1 parent 67848a6 commit 1374c95
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ default_install_hook_types: [pre-commit, commit-msg]

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.6
rev: v0.6.7
hooks:
- id: ruff
args:
Expand All @@ -34,7 +34,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.41.0
rev: v0.42.0
hooks:
- id: markdownlint
# MD013: line length
Expand All @@ -50,9 +50,10 @@ repos:
args: [--ignore-words-list, gool, --check-filenames]

- repo: https://github.com/google/yamlfmt
rev: v0.10.0
rev: v0.13.0
hooks:
- id: yamlfmt
args: [-formatter, retain_line_breaks=true]

- repo: local
hooks:
Expand Down

0 comments on commit 1374c95

Please sign in to comment.