icecube / flarestack

Unbinned likelihood analysis code for astroparticle physics datasets
https://flarestack.readthedocs.io/en/latest/?badge=latest
MIT License
8 stars 7 forks source link

Add mypy CI test #314

Closed mlincett closed 11 months ago

mlincett commented 11 months ago

Add a CI test for mypy to the lint workflow (that also includes black).

Had to introduce a somewhat stupid safeguard in flarestack/misc/flare_llh_plots.py mostly because plt.hist does not always return the same type.