matthew-brett / delocate

Find and copy needed dynamic libraries into python wheels
BSD 2-Clause "Simplified" License
267 stars 59 forks source link

Replace black/isort/flake8 with Ruff and pre-commit #191

Closed HexDecimal closed 12 months ago

HexDecimal commented 1 year ago

This replaces Flake8 and all of the formatting tools I've previously added with Ruff, which includes the features of all the other tools combined while also being fast enough to be used as a pre-commit hook, which I've also setup in this PR.

I've also added a CONTRIBUTING.md with everything important I could remember about this project.

codecov[bot] commented 1 year ago

Codecov Report

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

Comparison is base (876c751) 95.21% compared to head (14c01a0) 95.19%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #191 +/- ## ========================================== - Coverage 95.21% 95.19% -0.03% ========================================== Files 15 15 Lines 1192 1186 -6 ========================================== - Hits 1135 1129 -6 Misses 57 57 ```

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