Specify accepted types for all documented parameters
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- documentation
Hướng nghiên cứu
Start with the docstring of cfp.vect, which the issue uses as its example: scale should be numeric, stride an integer, ptype an enumerated set of choices, and key_show a Boolean. Then find the other documented parameters across the plotting functions and add their accepted types in the same docstring style. Done when every documented parameter states its type and the docs build without errors. The separate validation issue the author mentions is out of scope.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
There is generally no indication of accepted type for the documented parameters in the function docstrings, e.g. for cfp.vect the scale kwarg expects a numeric value, stride expects an integer value, ptype has an enumerated set of possiblities and key_show should be Boolean, etc. As per good (and indeed expected) docstring practice these should be added so the user knows what type is valid.
I will put up a separate issue for validation of anticipated type, since this would also be good for robustness, but is a different thing.
- Ngôn ngữ chính
- Python
- Star
- 21
- Fork
- 11
- Merge trung bình
- 2 giờ 59 phút
- Pull request đã merge (30 ngày)
- 11
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NCAS-CMS/cf-plot
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
dependencies infrastructure installation testing
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Maintainer thường phản hồi trong vòng 1 ngày
-
docs enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của NCAS-CMS/cf-plot
Issue tương tự
-
MarkdownDocSerializer.post_process escapes '\<' to '\<', rendering literal '<' in CommonMarkĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
docling-project/docling-core#1067 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
correction metadata
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
acl-org/acl-anthology#11101 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] crewai tool create/install/login exit 0 when they failCó thể đã có người làm @Kiko0301 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
vllm-project/compressed-tensors#1033 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
chore kaizen ui-rewrite
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
IBM/mcp-context-forge#7681 ·
Maintainer thường phản hồi trong vòng 2 ngày