DSDL linter
还没有人认领这个 Issue。
评估
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- Python
- 星标
- 82
- 派生
- 109
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenCyphal/public_regulated_data_types 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 20/100
-
enhancement minor new-data-type
难度 4/5 3-5 天 新手友好度 15/100
OpenCyphal/public_regulated_data_types#128 · 2 条评论 ·
-
help wanted minor
难度 4/5 3-5 天 新手友好度 25/100
查看 OpenCyphal/public_regulated_data_types 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 85/100
WLAN-Pi/wlanpi-profiler#341 ·
维护者通常 1 天内回复
-
Memory leak: the shared `validation_aborted_error` keeps every traceback it is raised through可能已有人在做 @Fire162 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
graphql-python/graphql-core#287 ·
-
难度 2/5 1-3 小时 新手友好度 67/100
roman-corgi/ctc-dip#160 ·
维护者通常 1 天内回复
-
type-bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
render_findings.py reads and writes in the host's default encoding, so findings.html breaks on a cp1252 Windows host可能已有人在做 @Aaqibhafeezkhan 今天认领。 未关闭bug good first issue mentored python size: XS up-for-grabs
难度 2/5 1-3 小时 新手友好度 75/100
dheerajjha/mcp-migrate#366 · 1 条评论 ·
维护者通常 1 天内回复