Skip to content

Conversation

@hofbi
Copy link
Contributor

@hofbi hofbi commented Jun 24, 2025

pre-commit has some predefined types that match the correct extensions. The jsonnet type matches https://github.com/pre-commit/identify/blob/40af39f8124a4e8029ff3716c2b0bbf2e1e5fb1e/identify/extensions.py#L139 and https://github.com/pre-commit/identify/blob/40af39f8124a4e8029ff3716c2b0bbf2e1e5fb1e/identify/extensions.py#L151 which are exactly the file endings used before

@johnbartholomew
Copy link
Collaborator

Thanks for the contribution! I'm not very familiar with the pre-commit tool, but this looks ok.

@johnbartholomew johnbartholomew merged commit 751aedf into google:master Jan 27, 2026
9 checks passed
@coveralls
Copy link

Coverage Status

coverage: 44.109%. remained the same
when pulling 751aedf on hofbi:patch-1
into 604f4d7 on google:master.

@hofbi hofbi deleted the patch-1 branch January 27, 2026 16:42
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.

3 participants