snakemake / snakefmt

The uncompromising Snakemake code formatter
MIT License
147 stars 28 forks source link

docs: update pre commit example #232

Closed jpwgnr closed 4 months ago

jpwgnr commented 4 months ago

Hi,

I realised that from your release 0.5.0 to 0.6.0 the labels switched from 0.5.0 to v0.6.0. Therefore, the example pre-commit snippet in the README is still correct, but once somebody wants to go beyond by just updating the number (as I did) they will get an error from pre-commit.

I think it would be nice to update this small section. Here is a suggestion for the fix with the newest snakefmt version.

jpwgnr commented 4 months ago

Additional comment:

Also this link in the changelog is does not do what it is expected to because there is no v0.5.0.

mbhall88 commented 4 months ago

Thanks for this @jpwgnr and for the heads up about the changelog.