Skip to content

Commit

Permalink
exclude .changes/unreleased/ from yaml* pre-commit hooks
Browse files Browse the repository at this point in the history
it's generated, and life's too short to fix their output

jumanjihouse/pre-commit-hook-yamlfmt#34 (comment)
  • Loading branch information
chizmw committed Nov 23, 2022
1 parent 026fdea commit 8525f40
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changes/unreleased/Fixed-20221123-142427.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
kind: Fixed
body: exclude .changes/unreleased/ from yaml* pre-commit hooks
time: 2022-11-23T14:24:27.832116Z
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ repos:
hooks:
- id: yamllint
args: [--format, parsable, --strict]
exclude: ^.changes/unreleased/

- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.8.0.4
Expand All @@ -64,6 +65,7 @@ repos:
hooks:
- id: yamlfmt
args: [--offset, '2', --mapping, '2', --sequence, '4']
exclude: ^.changes/unreleased/

- repo: https://github.com/tekwizely/pre-commit-golang
rev: v1.0.0-beta.5
Expand Down

0 comments on commit 8525f40

Please sign in to comment.