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

Add a py.typed marker, so type checkers use this package's annotations

Đang mở
#152 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 1 ngày

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
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
computer-vision

Hướng nghiên cứu

Start by checking the package layout and wheel configuration to find where a py.typed marker must be added and how package files are included. Then run mypy with the project's settings to assess the annotations and investigate any failures. The issue is done when the annotations are suitable for users and the marker is included in the built wheel.

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

Mô tả

Likely smell: this package ships no py.typed marker, so users' type checkers (mypy, Pylance, pyright) ignore its annotations and treat it as untyped. (see also #40 and #60 on mypy and coverage) RTB has just added one in petercorke/robotics-toolbox-python#823: an empty py.typed file in the package folder, which has to end up in the wheel. Please check that the annotations are in good enough shape to offer to users (mypy clean on your own settings), then add it and fix what you find.

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

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 petercorke/machinevision-toolbox-python

Tất cả issue của petercorke/machinevision-toolbox-python

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.