Skip to content

Add type annotations #662

@Heribert17

Description

@Heribert17

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

It would be good to have type annotations for all public functions so that pyright or similar tools are able to check the parameter.
Pyright tries to automatically guess and add type hints but that takes hours and isn't allways correct.

Describe the solution you'd like

All public function definitions have type annotations.

Describe alternatives you've considered

I tried to let pyright generate stub files but after 8 hours pyright is still analysing 417 files. The files for cx_freeze where generated in minutes.

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestv2ttkbootstrap v2

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions