detect url deps and leave them as-is in the pre-commit config
还没有人认领这个 Issue。
评估
调研方向
首先跟踪依赖项如何从 pyproject 同步到 pre-commit 配置,重点关注通过 URL 安装的依赖项以及现有的 .pre-commit 文件处理方式。使用一个 URL 依赖项和一个公共版本依赖项确认其行为;当 URL 条目保持不变而公共版本得到更新时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
if a dep is installed from a url, it should not sync the version information in the pre-commit config as that will cause pre-commit to install that version from pypi whereas we would like to install the dep from the url as defined in the pyproject. we should detect that case and leave the url as-is however if the dep is changed to use public version, pre-commit sync should update the .pre-commit file to public version
- 主要语言
- Python
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
相似的 Issue
-
bot-triaged module: LrScheduler module: optimizer triaged
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
documentation glm5 llm-model
难度 2/5 1-3 小时 新手友好度 78/100
vllm-project/vllm-ascend#19062 ·
维护者通常 1 天内回复
-
author-page correction
难度 2/5 1-3 小时 新手友好度 68/100
acl-org/acl-anthology#10496 · 1 条评论 ·
维护者通常 1 天内回复
-
Issue Type: Bug Report
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 76/100
SasanLabs/VulnerableApp#836 ·
维护者通常 1 天内回复