Skip to content

Conversation

@sindrebenjaminremman
Copy link

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

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
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

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