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

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

Merged
merged 4 commits into from
Nov 24, 2023

Conversation

HexDecimal
Copy link
Collaborator

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.

Copy link

codecov bot commented Nov 22, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

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

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

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

@HexDecimal HexDecimal merged commit d0fba91 into matthew-brett:master Nov 24, 2023
17 checks passed
@HexDecimal HexDecimal deleted the pre-commit branch December 12, 2023 10:41
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