-
Notifications
You must be signed in to change notification settings - Fork 64
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
add pre-commit and apply #139
Conversation
Hey Borda, Please remove all cleaning and linting changes from this PR, and separate them into two or three parts:
This will make this PR reviewable, when focused on the topic as presented in the title. Thank you! :) |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #139 +/- ##
===========================================
+ Coverage 99.40% 100.00% +0.59%
===========================================
Files 5 5
Lines 508 508
Branches 88 88
===========================================
+ Hits 505 508 +3
+ Misses 2 0 -2
+ Partials 1 0 -1
Continue to review full report in Codecov by Sentry.
|
done, resetted to the commit before apply linting
ahah, did a second dive to the used action, and seems the black was not used in the end, they have all been disabled by default... will fix it
there were none :)
yes, agree |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thank you!
Resolves #137
This change enables configuration flexibility, and the contributor can simply run all linters locally and not be flagged by CI... moreover, the installed bot can do the fixes for a user, or the user can install a git hook, so he does not need to think about lining any more...
Just after this lands or even before, it would be beneficial to install this free bot - https://github.com/marketplace/pre-commit-ci
cc: @shaypal5