Skip to content

ci(prek): skip whitespace fixers on reference contracts - #1551

Merged
kvinwang merged 1 commit into
feat/kms-epochs-combinedfrom
fix/prek-exclude-reference-contracts
Nov 10, 2026
Merged

kvinwang merged 1 commit into
feat/kms-epochs-combinedfrom
fix/prek-exclude-reference-contracts

Conversation

@kvinwang

Copy link
Copy Markdown
Collaborator

The prek job on #1533 fails because trailing-whitespace and end-of-file-fixer flag the v0.5.9 reference contracts under dstack/kms/auth-eth/contracts/test-utils/reference/. Those files are kept verbatim from the released sources (added in 8d93767), so exclude the directory from both hooks instead of rewriting them.

Verified locally: prek run --from-ref <#1533 base> --to-ref HEAD passes.

The v0.5.9 and v0.6.0 sources under contracts/test-utils/reference are
kept verbatim as upgrade references, so trailing-whitespace and
end-of-file-fixer must not rewrite them.

Signed-off-by: Kevin Wang <wy721@qq.com>
@kvinwang
kvinwang merged commit d32b6e0 into feat/kms-epochs-combined Nov 10, 2026
1 check passed
@kvinwang
kvinwang deleted the fix/prek-exclude-reference-contracts branch November 10, 2026 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant