AMICI-dev / AMICI

Advanced Multilanguage Interface to CVODES and IDAS
https://amici.readthedocs.io/
Other
108 stars 30 forks source link

pyupgrade, pre-commit autoupdate #2411

Closed dweindl closed 5 months ago

dweindl commented 5 months ago

manual changes:

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 96.42857% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 77.60%. Comparing base (1f18ed8) to head (2baa7a1).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/AMICI-dev/AMICI/pull/2411/graphs/tree.svg?width=650&height=150&src=pr&token=1bt9lbspzk&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AMICI-dev)](https://app.codecov.io/gh/AMICI-dev/AMICI/pull/2411?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AMICI-dev) ```diff @@ Coverage Diff @@ ## develop #2411 +/- ## ======================================== Coverage 77.60% 77.60% ======================================== Files 324 324 Lines 20912 20912 Branches 1464 1464 ======================================== Hits 16229 16229 Misses 4680 4680 Partials 3 3 ``` | [Flag](https://app.codecov.io/gh/AMICI-dev/AMICI/pull/2411/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AMICI-dev) | Coverage Δ | | |---|---|---| | [cpp](https://app.codecov.io/gh/AMICI-dev/AMICI/pull/2411/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AMICI-dev) | `73.38% <89.28%> (ø)` | | | [cpp_python](https://app.codecov.io/gh/AMICI-dev/AMICI/pull/2411/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AMICI-dev) | `34.12% <82.14%> (ø)` | | | [petab](https://app.codecov.io/gh/AMICI-dev/AMICI/pull/2411/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AMICI-dev) | `36.70% <96.42%> (ø)` | | | [python](https://app.codecov.io/gh/AMICI-dev/AMICI/pull/2411/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AMICI-dev) | `72.14% <89.28%> (ø)` | | 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=AMICI-dev#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/AMICI-dev/AMICI/pull/2411?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AMICI-dev) | Coverage Δ | | |---|---|---| | [python/sdist/amici/\_\_init\_\_.py](https://app.codecov.io/gh/AMICI-dev/AMICI/pull/2411?src=pr&el=tree&filepath=python%2Fsdist%2Famici%2F__init__.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AMICI-dev#diff-cHl0aG9uL3NkaXN0L2FtaWNpL19faW5pdF9fLnB5) | `94.44% <100.00%> (ø)` | | | [python/sdist/amici/\_codegen/cxx\_functions.py](https://app.codecov.io/gh/AMICI-dev/AMICI/pull/2411?src=pr&el=tree&filepath=python%2Fsdist%2Famici%2F_codegen%2Fcxx_functions.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AMICI-dev#diff-cHl0aG9uL3NkaXN0L2FtaWNpL19jb2RlZ2VuL2N4eF9mdW5jdGlvbnMucHk=) | `95.65% <ø> (ø)` | | | [python/sdist/amici/\_codegen/model\_class.py](https://app.codecov.io/gh/AMICI-dev/AMICI/pull/2411?src=pr&el=tree&filepath=python%2Fsdist%2Famici%2F_codegen%2Fmodel_class.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AMICI-dev#diff-cHl0aG9uL3NkaXN0L2FtaWNpL19jb2RlZ2VuL21vZGVsX2NsYXNzLnB5) | `100.00% <ø> (ø)` | | | [python/sdist/amici/\_codegen/template.py](https://app.codecov.io/gh/AMICI-dev/AMICI/pull/2411?src=pr&el=tree&filepath=python%2Fsdist%2Famici%2F_codegen%2Ftemplate.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AMICI-dev#diff-cHl0aG9uL3NkaXN0L2FtaWNpL19jb2RlZ2VuL3RlbXBsYXRlLnB5) | `100.00% <ø> (ø)` | | | [python/sdist/amici/antimony\_import.py](https://app.codecov.io/gh/AMICI-dev/AMICI/pull/2411?src=pr&el=tree&filepath=python%2Fsdist%2Famici%2Fantimony_import.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AMICI-dev#diff-cHl0aG9uL3NkaXN0L2FtaWNpL2FudGltb255X2ltcG9ydC5weQ==) | `94.11% <100.00%> (ø)` | | | [python/sdist/amici/bngl\_import.py](https://app.codecov.io/gh/AMICI-dev/AMICI/pull/2411?src=pr&el=tree&filepath=python%2Fsdist%2Famici%2Fbngl_import.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AMICI-dev#diff-cHl0aG9uL3NkaXN0L2FtaWNpL2JuZ2xfaW1wb3J0LnB5) | `100.00% <ø> (ø)` | | | [python/sdist/amici/compile.py](https://app.codecov.io/gh/AMICI-dev/AMICI/pull/2411?src=pr&el=tree&filepath=python%2Fsdist%2Famici%2Fcompile.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AMICI-dev#diff-cHl0aG9uL3NkaXN0L2FtaWNpL2NvbXBpbGUucHk=) | `68.42% <ø> (ø)` | | | [...thon/sdist/amici/conserved\_quantities\_demartino.py](https://app.codecov.io/gh/AMICI-dev/AMICI/pull/2411?src=pr&el=tree&filepath=python%2Fsdist%2Famici%2Fconserved_quantities_demartino.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AMICI-dev#diff-cHl0aG9uL3NkaXN0L2FtaWNpL2NvbnNlcnZlZF9xdWFudGl0aWVzX2RlbWFydGluby5weQ==) | `65.69% <ø> (ø)` | | | [python/sdist/amici/conserved\_quantities\_rref.py](https://app.codecov.io/gh/AMICI-dev/AMICI/pull/2411?src=pr&el=tree&filepath=python%2Fsdist%2Famici%2Fconserved_quantities_rref.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AMICI-dev#diff-cHl0aG9uL3NkaXN0L2FtaWNpL2NvbnNlcnZlZF9xdWFudGl0aWVzX3JyZWYucHk=) | `96.42% <ø> (ø)` | | | [python/sdist/amici/cxxcodeprinter.py](https://app.codecov.io/gh/AMICI-dev/AMICI/pull/2411?src=pr&el=tree&filepath=python%2Fsdist%2Famici%2Fcxxcodeprinter.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AMICI-dev#diff-cHl0aG9uL3NkaXN0L2FtaWNpL2N4eGNvZGVwcmludGVyLnB5) | `94.11% <100.00%> (ø)` | | | ... and [28 more](https://app.codecov.io/gh/AMICI-dev/AMICI/pull/2411?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AMICI-dev) | |