brailcom/speechd

Add typehints to the Python speechd API

オープン

#976 opened on 2024/12/06

 (6 件のコメント) (0 件のリアクション) (0 人の担当者)C (86 件のフォーク)auto 404
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (325 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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. :)

コントリビューターガイド