brailcom/speechd

Add typehints to the Python speechd API

开放

#976 创建于 2024年12月6日

 (6 条评论) (0 个反应) (0 位负责人)C (86 个派生)auto 404
enhancementgood first issuehelp wanted

仓库指标

星标
 (325 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Is your feature request related to a problem? Please describe.

Currently, the speech dispatcher Python client does not include typehints. This prevents static analysis tools such as mypy from verifying correct usage of the library from outside, as well as the internal integrity.

Describe the solution you'd like

Add typehints to all external/internal methods and structures.

Describe alternatives you've considered

The module can be excluded from statical analysis by the developer, however adding the types is the preferred solution.

Additional context

I can take this on, since it relates to a project I'm currently working on. Just wanted to check with the project whether we're of the same mind, before starting the actual work. :)

贡献者指南