Skip to content

Pre-commit does not provide facilities for "unpinned latest version" …#303

Closed
ghost wants to merge 1 commit into
mainfrom
unknown repository
Closed

Pre-commit does not provide facilities for "unpinned latest version" …#303
ghost wants to merge 1 commit into
mainfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Oct 9, 2025

Pre-commit does not provide facilities for "unpinned latest version" for hook repositories: https://pre-commit.com/#using-the-latest-version-for-a-repository:~:text=Using%20the%20latest,NOT%20update%20automatically

I changed the documentation showing an example .pre-commit-config.yaml file to reflect this. That is the only change.

If someone has a suggestion on how to update this .md file to reflect the latest revision of yamlfix that would be better, but maybe unnecessary.

Checklist

  • Add test cases to all the changes you introduce (not relevant as I don't add code)
  • Update the documentation for the changes

@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 18376583429

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 99.012%

Totals Coverage Status
Change from base Build 17504881807: 0.0%
Covered Lines: 501
Relevant Lines: 506

💛 - Coveralls

repos:
- repo: https://github.com/lyz-code/yamlfix/
rev: main
rev: 1.18.0
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for your contribution, as this version will be outdated pretty soon, maybe you can add a comment above line 29 with a link to the tags web or the pypi project so that people can see which is the latest

Repository owner closed this by deleting the head repository May 15, 2026
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