-
Notifications
You must be signed in to change notification settings - Fork 83
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 hooks for linting #3608
Conversation
gsheni
commented
Jul 12, 2022
•
edited
Loading
edited
- This makes it so that linting is automatically run right before you commit code:
- We use this https://pre-commit.com/
- Example of this:
- More linting checks were added with the pre-commit-config
- Strip out Jupyter notebook outputs
- End of file fixer
- removing trailing whitespaces
- absolute important everywhere for EvalML
- Add trailing commas
- Run black[juypter] on py and jupyter files
Codecov Report
@@ Coverage Diff @@
## main #3608 +/- ##
=======================================
- Coverage 99.7% 99.7% -0.0%
=======================================
Files 335 335
Lines 33505 33504 -1
=======================================
- Hits 33383 33382 -1
Misses 122 122
Continue to review full report at Codecov.
|
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 - thanks so much for doing this!