audeering / opensmile-python

Python package for openSMILE
https://audeering.github.io/opensmile-python/
Other
240 stars 32 forks source link

Use ruff formatter as pre-commit #103

Closed hagenw closed 5 months ago

hagenw commented 5 months ago

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

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.0%. Comparing base (90253f1) to head (76f589e).

Additional details and impacted files | [Files](https://app.codecov.io/gh/audeering/opensmile-python/pull/103?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=audeering) | Coverage Δ | | |---|---|---| | [opensmile/\_\_init\_\_.py](https://app.codecov.io/gh/audeering/opensmile-python/pull/103?src=pr&el=tree&filepath=opensmile%2F__init__.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=audeering#diff-b3BlbnNtaWxlL19faW5pdF9fLnB5) | `100.0% <100.0%> (ø)` | | | [opensmile/core/config.py](https://app.codecov.io/gh/audeering/opensmile-python/pull/103?src=pr&el=tree&filepath=opensmile%2Fcore%2Fconfig.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=audeering#diff-b3BlbnNtaWxlL2NvcmUvY29uZmlnLnB5) | `100.0% <100.0%> (ø)` | | | [opensmile/core/define.py](https://app.codecov.io/gh/audeering/opensmile-python/pull/103?src=pr&el=tree&filepath=opensmile%2Fcore%2Fdefine.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=audeering#diff-b3BlbnNtaWxlL2NvcmUvZGVmaW5lLnB5) | `100.0% <100.0%> (ø)` | | | [opensmile/core/lib.py](https://app.codecov.io/gh/audeering/opensmile-python/pull/103?src=pr&el=tree&filepath=opensmile%2Fcore%2Flib.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=audeering#diff-b3BlbnNtaWxlL2NvcmUvbGliLnB5) | `100.0% <100.0%> (ø)` | | | [opensmile/core/smile.py](https://app.codecov.io/gh/audeering/opensmile-python/pull/103?src=pr&el=tree&filepath=opensmile%2Fcore%2Fsmile.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=audeering#diff-b3BlbnNtaWxlL2NvcmUvc21pbGUucHk=) | `100.0% <100.0%> (ø)` | |