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

Refactor tests, scripts and the rules tool, then select every ruff rule (ALL)

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

Maintainer thường phản hồi trong vòng 2 ngày

@anth-volk đang làm issue này rồi.

Từ ngày 14/10/2026.

  • #3934 của @anth-volk — đang mở

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
15/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python

Hướng nghiên cứu

Start from the ruff configuration, where select must change to ["ALL"] with the global ignores kept to COM812, ISC001, D203 and D213, then run ruff to list violations. Work through the tests, the scripts and the rules tool, whose unittest tests keep their per-file exemptions, and leave the Alembic revisions and script command-line interfaces as they are. PR #3934 is already open against this issue, so check with it before starting. Done means ruff passes under the new selection with every test assertion intact.

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

Mô tả

Phase 1 step 1.8, group 8b, part 3 of 3: refactor the tests, the scripts and the rules tool within ruff's complexity limits, then switch ruff to select = ["ALL"].

The only global ignores are the two rules that conflict with ruff format (COM812, ISC001) and one rule of each mutually exclusive pydocstyle pair (D203, D213). Test files, generated Alembic revisions and the rules tool's unittest tests keep their registered per-file exemptions. Scripts keep their command-line interfaces, and tests keep every assertion.

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

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 PolicyEngine/policyengine-api

Tất cả issue của PolicyEngine/policyengine-api

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.