-
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 lint to fix jupyter executed cells #2829
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2829 +/- ##
=====================================
Coverage 99.8% 99.8%
=====================================
Files 297 297
Lines 27725 27725
=====================================
Hits 27648 27648
Misses 77 77 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.
beautiful
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.
Thank you @bchen1116 ! This will be super useful.
fix #2566
Example usage:
![diff --git adocssourcedemosfraud ipynb bdocssourcedemosfraud ipynb](https://user-images.githubusercontent.com/22552445/134414222-55634f5b-0caa-48cd-bb94-73a8d75da2cf.png)
![diff git adocssourceuser_guidedata_actions ipynb bdocssourceuser_data_nsn](https://user-images.githubusercontent.com/22552445/134414237-11b81cc9-8bfc-4405-9d62-06ab7459def8.png)
Running 2 different notebooks in different directories:
lint output
post lint-fix
The notebooks then become cleaned and are no longer different from the originals