Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Final cleanup after constants migration

未关闭
#187 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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.toml ships resources/*.json through [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) and presetlookup.json.
The Change
  • The README should say that a constant is added by editing its spec/ file and running make build.
Acceptance Criteria
  • The built le-utils wheel contains no resources/ files.
  • le_utils/resources/ contains only the languagelookup.json symlink.
  • README links to le_utils/resources/ point to the matching spec/ files instead, except the languagelookup.json link.

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 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

learningequality/le-utils 的其他 Issue

查看 learningequality/le-utils 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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