Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Final cleanup after constants migration

Đang mở
#187 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
20/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python

Hướng nghiên cứu

Sau khi hoàn tất các issue #182–#186, hãy kiểm tra package_data trong setup.py và xác minh rằng thư mục le_utils/resources/ không còn tồn tại. Cập nhật README.md và CHANGELOG.md như đã chỉ định, sau đó chạy pytest tests/ -v, make build và các lệnh build/cài đặt package; hoàn thành nghĩa là tất cả các tiêu chí nghiệm thu được liệt kê đều đạt.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Python
Star
7
Fork
37
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
7

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của learningequality/le-utils

Tất cả issue của learningequality/le-utils

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.