DiamondLightSource / DiamondLightSource/python-copier-template

Consider moving from pre-commit to prek

未关闭
#321 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Jinja
星标
25
派生
10
平均合并
4 小时 4 分钟
30 天内合并 PR
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.

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
tooling
Issue 类型
重构
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。