Skip to content

Conversation

@mgeier
Copy link
Member

@mgeier mgeier commented Oct 19, 2025

This PR introduces very few type annotations, mostly erasing types, to avoid all errors reported by Pyright.

The goal is to get rid of type-related linting errors, while not losing any documentation tooltips etc. and without dumping tons of type annotations onto the codebase.

Especially, this does not import anything from typing and it should cause very little cognitive overhead for readers of the code who are not familiar with Python's type annotations.

More specific type definitions can be added later on a case-by-case basis, if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant