Remove "v" from the Ruff version number in link to release notes#92
Remove "v" from the Ruff version number in link to release notes#92charliermarsh merged 1 commit intoastral-sh:mainfrom Tenzer:strip-v-from-ruff-version
Conversation
Starting with version 0.5.0 of Ruff, the release/tag name doesn't have a leading "v". This has broken the link to the release notes that get added to the release notes for the pre-commit hook. This fixes it by stripping any "v" from the version number string.
|
The actual fix is to remove |
|
I didn't want to change the format of the tag created in this repository, in case it would break how Have you checked that it still works and picks up the latest version if the "v" prefix is removed? |
|
Very understandable concern. But more generally, we know that it doesn't require the |
Summary
Starting with version 0.5.0 of Ruff, the release/tag name doesn't have a leading "v". This has broken the link to the release notes that get added to the release notes for the pre-commit hook.
This fixes it by stripping any "v" from the version number string.
See #91.
Test Plan
Tested in a bash shell:
Will otherwise have to be tested on the next Ruff release.