Introduce a pre-commit hook and MyPy, implement type hints only for Phys/DaVinciMCTools for now

Follow-up from DaVinci!917 (merged) but now for Analysis.

Indeed, we should move further towards modern techniques and this is yet another step in that direction.

I do not try and sort it all here - it would mean a gigantic MR! - but this is already more than enough as a "take 1".

Merge request reports

Loading