luminaire icon indicating copy to clipboard operation
luminaire copied to clipboard

Use Python type hints instead of docstring to document types

Open snazzyfox opened this issue 4 years ago • 0 comments

Most data types are documented in docstrings. We should move them all to type hints because this will allow use to run static type checks, and as a benefit, catch undocumented variables.

Together with #60 this will allow us to enable more stringent static type checking.

snazzyfox avatar Aug 24 '20 20:08 snazzyfox