Skip to content

Conversation

@dweindl
Copy link
Member

@dweindl dweindl commented Apr 16, 2024

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

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.

Relevant changes: .pre-commit-config.yaml, .pre-commit-config.yaml
@dweindl dweindl requested review from a team, dilpath and m-philipps as code owners April 16, 2024 06:48
@codecov-commenter
Copy link

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 ⚠️
Additional details and impacted files
@@             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              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@dilpath dilpath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@dweindl dweindl merged commit b75ece3 into develop Apr 16, 2024
@dweindl dweindl deleted the ruff branch April 16, 2024 13:13
dweindl added a commit that referenced this pull request Apr 16, 2024
Follow-up to #251 

* Manual changes for compatibility with selected ruff rules
* run pre-commit hooks on GHA instead of flake8
* run tests on python3.12
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.

4 participants