Update type annotations (ADHI-4964)
coldpie
added correct type annotations so mypy
can now check
correctness of the coldpie calls.
Unfortunately LCG comes with mypy <1.0 which makes it hard to check
against coldpie
, so I keep coldpie ignored in mypy.ini
.
Modernized type annotations. Added pre-commit hooks to run black/isort/ruff on committed files, plus few other standard checks.