Final cleanup after constants migration
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 20/100
- Issue 类型
- 重构
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- python
调研方向
完成 issues #182–#186 后,检查 setup.py 中的 package_data,并确认 le_utils/resources/ 目录已不存在。按照指定内容更新 README.md 和 CHANGELOG.md,然后运行 pytest tests/ -v、make build 以及 package 构建/安装命令;完成的标准是所有列出的验收标准都通过。
由索引模型根据 Issue 内容生成。
描述
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Overview
With #182–#186 landed, the package should stop shipping le_utils/resources/, and the README should describe the spec workflow instead of keeping Python and JSON in sync by hand.
Complexity: Low
Target branch: main
Context
pyproject.tomlshipsresources/*.jsonthrough[tool.setuptools.package-data].- The README's Constants section says a new constant means editing the Python file and the JSON file; its file formats and format presets sections link to
formatlookup.json(on a personal fork) andpresetlookup.json.
The Change
- The README should say that a constant is added by editing its
spec/file and runningmake build.
Acceptance Criteria
- The built
le-utilswheel contains noresources/files. -
le_utils/resources/contains only thelanguagelookup.jsonsymlink. - README links to
le_utils/resources/point to the matchingspec/files instead, except thelanguagelookup.jsonlink.
AI usage
I made the decisions recorded on #181 and #182; Claude Code applied them to this cleanup against the current code and drafted the issue.
- 主要语言
- Python
- 星标
- 7
- 派生
- 37
- 平均合并
- 1 天 17 小时
- 30 天内合并 PR
- 7
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
learningequality/le-utils 的其他 Issue
-
难度 5/5 一周以上 新手友好度 20/100
learningequality/le-utils#186 ·
-
难度 5/5 一周以上 新手友好度 25/100
learningequality/le-utils#185 ·
-
难度 5/5 一周以上 新手友好度 20/100
learningequality/le-utils#184 ·
-
难度 4/5 3-5 天 新手友好度 35/100
learningequality/le-utils#183 ·
-
难度 5/5 一周以上 新手友好度 20/100
learningequality/le-utils#182 ·
查看 learningequality/le-utils 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
Task
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
war-and-code/dircue#200 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 87/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复