DSDL linter
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
- 25/100
Hướng nghiên cứu
Start from the existing verify script linked in the issue, which lives in the public_regulated_data_types repository, and note which checks it already performs. The new tool must be a standalone Python script that depends only on PyDSDL, and its location has not been decided yet. Done means every listed requirement (formatting, pragmas, header comments, size limits, ASCII/tab/CR rules) is enforced with a non-zero exit code on violations.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
We need to have this script transformed into a standalone reusable DSDL linter:
https://github.com/UAVCAN/public_regulated_data_types/blob/master/verify
Business requirements:
- Implemented as a standalone Python script dependent only on PyDSDL.
- Ensure that the formatting recommendations provided in the specification are followed.
- Support for definition-wide diagnostic suppression using pragmas.
- Ensure the header comment is provided for all data types. Allow the caller to specify which namespaces should be allowed to bypass this requirement.
- Allow the caller to specify the maximum size of serialized representations. Provide a pragma to override this.
- Ensure ASCII charset; prohibit tabs and
\r(carriage return). - Non-zero return code if a violation is found.
I am not sure where the script should be located; could be the PyDSDL repo or just a separate gist?
Original comment: https://github.com/UAVCAN/public_regulated_data_types/pull/67/files/acb48c15288510bffea3797d76e3eca21d6413dc#r322079388
- Ngôn ngữ chính
- Python
- Star
- 82
- Fork
- 109
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 OpenCyphal/public_regulated_data_types
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
-
enhancement minor new-data-type
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
OpenCyphal/public_regulated_data_types#128 · 2 bình luận ·
-
DSDL syntax highlightingĐang mởhelp wanted minor
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Tất cả issue của OpenCyphal/public_regulated_data_types
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
conda-forge/conda-forge-bot#7025 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
chore(ci): publish.yml's release-job comment counts the hand-created Releases as all of themĐang mởarea:ci
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 74/100
catincloud-labs/dagster-dex#149 ·
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 84/100
home-assistant/core#188424 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Review backlog (docs-currency): README 'CI run' link lands on a run whose overall badge is cancelledĐang mởagent/reviewer needs-kind needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
projectbluefin/utah#880 · 2 bình luận ·
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 76/100
redis/memtier_benchmark#850 ·
Maintainer thường phản hồi trong vòng 1 ngày