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 #149

Merged
merged 5 commits into from
Jan 30, 2024
Merged

Use ruff formatter as pre-commit #149

merged 5 commits into from
Jan 30, 2024

Conversation

hagenw
Copy link
Member

@hagenw hagenw commented Jan 30, 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 Jan 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (41fff81) 100.0% compared to head (411ecdd) 100.0%.

Additional details and impacted files
Files Coverage Δ
audiofile/__init__.py 100.0% <ø> (ø)
audiofile/core/conftest.py 100.0% <100.0%> (ø)
audiofile/core/convert.py 100.0% <100.0%> (ø)
audiofile/core/info.py 100.0% <100.0%> (ø)
audiofile/core/io.py 100.0% <100.0%> (ø)
audiofile/core/utils.py 100.0% <100.0%> (ø)

@hagenw hagenw merged commit 41d5023 into main Jan 30, 2024
34 checks passed
@hagenw hagenw deleted the ruff-format branch January 30, 2024 10:04
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