DiamondLightSource / DiamondLightSource/python-copier-template

Consider moving from pre-commit to prek

Ouverte
#321 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Jinja
Étoiles
25
Forks
10
Merge moyen
4 h 4 min
PR mergées (30 j)
6

Description

[Prek](https://prek.j178.dev/)([github](https://github.com/j178/prek)) claims to be a drop-in replacement while being faster and making use of `uv` for creating environments.

While it's still pre 1.0, it has seen fairly wide adoption and is used for cPython and fastapi which seem big enough for it to be around and supported for a while.

It'd be good to try it here and see if it speeds things up at all. I have also seen instances of pre-commit not working if the environment is not activated which this might fix.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start by locating the repository's current pre-commit configuration and uv setup; no file or test is named in the issue. Compare the existing setup with prek, then verify whether the change improves speed or avoids the reported inactive-environment failure.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
tooling
Type d'issue
Refactorisation
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.