hiddenSymmetries / simsopt

Simons Stellarator Optimizer Code
https://simsopt.readthedocs.io
MIT License
83 stars 43 forks source link

Numpy type hinting #430

Closed mbkumar closed 3 weeks ago

mbkumar commented 3 weeks ago

This PR replaces nptyping with numpy.typing for type hinting numpy objects. Numpy is also constrained to be <2.0.0 to allow other projects such as f90wrap to catch up. Macos runners are updated to MacOS-12 from MacOS-11 which is deprecated and no longer available.

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.99%. Comparing base (f8d8e5d) to head (9dd34c5). Report is 4 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #430 +/- ## ========================================== + Coverage 91.62% 91.99% +0.36% ========================================== Files 75 75 Lines 13452 13499 +47 ========================================== + Hits 12326 12419 +93 + Misses 1126 1080 -46 ``` | [Flag](https://app.codecov.io/gh/hiddenSymmetries/simsopt/pull/430/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hiddenSymmetries) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/hiddenSymmetries/simsopt/pull/430/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hiddenSymmetries) | `91.99% <100.00%> (+0.36%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hiddenSymmetries#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.