Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyupgrade, pre-commit autoupdate #2411

Merged
merged 1 commit into from
Apr 23, 2024
Merged

Conversation

dweindl
Copy link
Member

@dweindl dweindl commented Apr 22, 2024

  • Run pyupgrade for python>=3.10
  • Update configuration for recent ruff

manual changes:

  • .pre-commit-config.yam
  • pyproject.toml

Copy link

codecov bot commented Apr 22, 2024

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

@@           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 Coverage Δ
cpp 73.38% <89.28%> (ø)
cpp_python 34.12% <82.14%> (ø)
petab 36.70% <96.42%> (ø)
python 72.14% <89.28%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
python/sdist/amici/__init__.py 94.44% <100.00%> (ø)
python/sdist/amici/_codegen/cxx_functions.py 95.65% <ø> (ø)
python/sdist/amici/_codegen/model_class.py 100.00% <ø> (ø)
python/sdist/amici/_codegen/template.py 100.00% <ø> (ø)
python/sdist/amici/antimony_import.py 94.11% <100.00%> (ø)
python/sdist/amici/bngl_import.py 100.00% <ø> (ø)
python/sdist/amici/compile.py 68.42% <ø> (ø)
...thon/sdist/amici/conserved_quantities_demartino.py 65.69% <ø> (ø)
python/sdist/amici/conserved_quantities_rref.py 96.42% <ø> (ø)
python/sdist/amici/cxxcodeprinter.py 94.11% <100.00%> (ø)
... and 28 more

@dweindl dweindl marked this pull request as ready for review April 22, 2024 13:26
@dweindl dweindl requested a review from a team as a code owner April 22, 2024 13:26
@dweindl dweindl merged commit f59fed7 into AMICI-dev:develop Apr 23, 2024
24 of 26 checks passed
@dweindl dweindl deleted the pyupgrade branch April 23, 2024 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants