DiamondLightSource / DiamondLightSource/python-copier-template

Consider moving from pre-commit to prek

Aperta
#321 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Jinja
Stelle
25
Fork
10
Merge medio
4h 4m
PR unite (30g)
6

Descrizione

[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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
tooling
Tipo di issue
Refactoring
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.