GenomicMedLab / software-templates

Cookiecutter templates for lab software projects
MIT License
0 stars 0 forks source link

update pre-commit hook #35

Closed korikuzma closed 2 months ago

korikuzma commented 2 months ago

Feature description

We should update the pre-commit version and hooks in .pre-commit-config.yaml for python projects

Use case

We currently are pointing to v1.4.0, but the latest version is 0.4.6. There are also some useful hooks that could be added

Proposed solution

Update version to 0.4.6 in .pre-commit-config.yaml consider adding these hooks:

Alternatives considered

No response

Implementation details

No response

Potential Impact

No response

Additional context

https://github.com/pre-commit/pre-commit-hooks

Contribution

None

jsstevenson commented 2 months ago

It'd be nice to automate this update in the same way that the ruff version update is (theoretically) automatic