DiamondLightSource / DiamondLightSource/python-copier-template

Consider moving from pre-commit to prek

オープン
#321 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Jinja
スター
25
フォーク
10
平均マージ
4時間 4分
マージ済み PR(30日)
6

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、リポジトリの現在の pre-commit 設定と uv のセットアップを見つけます。issue ではファイルもテストも指定されていません。既存のセットアップを prek と比較し、その変更によって速度が向上するか、報告されている非アクティブな環境による失敗を回避できるかを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
tooling
issue の種類
リファクタリング
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。