Add a `py.typed` file to the template

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

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

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
tooling

Hướng nghiên cứu

Start in the cookiecutter project template, using the referenced .pre-commit-config.yaml and its package layout to identify where package metadata files belong. Add the empty py.typed marker there and verify that a newly generated project includes it in the package; the template's existing checks should still pass.

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

Mô tả

enhancement
Is Your Feature Request Related to a Problem? Please Describe

We are encouraging typing through the use of mypy already, it makes sense that we include the file by default https://safjan.com/the-importance-of-adding-py-typed-file-to-your-typed-package

Describe the Solution You'd Like

Add a py.typed file

Describe Alternatives You've Considered

No response

Additional Context

No response

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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 UCL-ARC/python-tooling

Tất cả issue của UCL-ARC/python-tooling

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.