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

Use ruff formatter as pre-commit #161

Merged
merged 4 commits into from
Mar 21, 2024
Merged

Use ruff formatter as pre-commit #161

merged 4 commits into from
Mar 21, 2024

Conversation

hagenw
Copy link
Member

@hagenw hagenw commented Mar 21, 2024

As ruff now supports formatting of code like black, we extend pre-commit to also format the code using ruff.

Copy link

codecov bot commented Mar 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.0%. Comparing base (480c0c3) to head (a0c3665).

Additional details and impacted files
Files Coverage Δ
audinterface/__init__.py 100.0% <ø> (ø)
audinterface/core/feature.py 100.0% <100.0%> (ø)
audinterface/core/process.py 100.0% <100.0%> (ø)
audinterface/core/process_with_context.py 100.0% <100.0%> (ø)
audinterface/core/segment.py 100.0% <100.0%> (ø)
audinterface/core/utils.py 100.0% <100.0%> (ø)

@hagenw hagenw merged commit eba274c into main Mar 21, 2024
16 checks passed
@hagenw hagenw deleted the ruff-format branch March 21, 2024 13:17
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.

1 participant