Skip to content

Add type hints for version 1.0. #45

@CSchoel

Description

@CSchoel

After switching to #43, we can also abandon Python 2, which means that we can use proper type hints.

  • Switch required python version to 3.11 3.10.
  • Go through the codebase and add type hints to all public functions and classes.
    • measures.py
    • datasets.py
    • examples.py
    • test_measures.py
  • Fix all resulting type checking errors.
  • Ensure that unit tests still work.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions