Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve pre-commit-config.yaml to utilise versioned repos rather than local #205

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HarrisonWilde
Copy link

@HarrisonWilde HarrisonWilde commented Dec 20, 2024

Resolves #193 by updating the pre-commit-config yaml files to use versioned repos. Local is a bad idea for reproducibility and it leads to excessive dependency trees. The performance will be a lot better once we use ruff etc. anyway and in general pre commit hooks should be kept to a minimum. This PR does not aim to tackle that, just update the way in which pre-commit hooks are installed.


Checklist:

  • Updated documentation
  • CI passes
  • Labelled PR major/minor/patch

@HarrisonWilde HarrisonWilde changed the title Fixes #193 Improve pre-commit-config.yaml to utilise versioned repos rather than local Dec 20, 2024
Copy link

@caldwellst caldwellst left a comment

Choose a reason for hiding this comment

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

Simple, and nothing to change in the minor code review I've done. Just a question: should we consider just throwing in pre-commit-update in this PR? Basically setting forth that not only will we use versioned repos for pre-commits, but essentially enforce incremental, shared versioning across all repos by always using the latest? Something to discuss.

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.

Improve .pre-commit-config by switching to external repos and consolidating
2 participants