Add initial mypy type checking to CI
Only check the glcollate/defaults.py
file to start with. More files
will be reworked to properly use type hints and added in the future.
The config is split between pyproject.toml
and tools/mypy.py
.
The first file dictates which mypy checks will be enabled and the
second file controls how it will be run.
Add from __future__ import annotations
to indicate that the file
is type checked. This import enables the postponed evaluation of
type annotations.