scikit-hep / cabinetry

design and steer profile likelihood fits
https://cabinetry.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
26 stars 21 forks source link

test: disallow calling functions without type annotations #352

Closed alexander-held closed 2 years ago

alexander-held commented 2 years ago

235 removed disallow_untyped_calls = true for mypy as this broke type checks in cabinetry with numpy 1.21. Since this works fine again with numpy 1.22 or later, this can be added back now.

* make mypy flag calls to functions without type annotations
codecov[bot] commented 2 years ago

Codecov Report

Merging #352 (e099029) into master (de175e6) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #352   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           23        23           
  Lines         1933      1933           
  Branches       312       312           
=========================================
  Hits          1933      1933           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.