PEtab-dev / libpetab-python

Python package for working with PEtab files
https://libpetab-python.readthedocs.io
MIT License
14 stars 6 forks source link

maint: black -> ruff #251

Closed dweindl closed 5 months ago

dweindl commented 5 months ago

Instead of black and isort, run ruff as pre-commit hook. Enable pyupgrade and additional rules.

Applied safe auto-fixes, but validation currently fails. Will be addressed in a follow-up PR (#252).

Relevant changes: .pre-commit-config.yaml, pyproject.toml

codecov-commenter commented 5 months ago

Codecov Report

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

Project coverage is 76.20%. Comparing base (a5e771e) to head (117b77f).

Files Patch % Lines
petab/visualize/__init__.py 0.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #251 +/- ## =========================================== - Coverage 76.21% 76.20% -0.01% =========================================== Files 34 34 Lines 3216 3215 -1 Branches 780 780 =========================================== - Hits 2451 2450 -1 Misses 561 561 Partials 204 204 ```

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