mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-11-21 01:12:23 +01:00
Exempt run_tcx fixtures from whitespace fixers
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzxdWZ9CKZsNxtD5Jr9bYD
This commit is contained in:
parent
39c85a7dfd
commit
0ec8cfddec
@ -13,9 +13,13 @@ repos:
|
|||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.6.0
|
rev: v4.6.0
|
||||||
hooks:
|
hooks:
|
||||||
|
# run_tcx holds byte-exact RunnerUp exports; the golden test compares the
|
||||||
|
# encoder's output with them, so the fixers must never rewrite them.
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
args: [--markdown-linebreak-ext=md]
|
args: [--markdown-linebreak-ext=md]
|
||||||
|
exclude: ^screen_locker/tests/fixtures/run_tcx/
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
|
exclude: ^screen_locker/tests/fixtures/run_tcx/
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
# pnpm-lock.yaml is a two-document stream by design.
|
# pnpm-lock.yaml is a two-document stream by design.
|
||||||
exclude: ^web/pnpm-lock\.yaml$
|
exclude: ^web/pnpm-lock\.yaml$
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user