-
Notifications
You must be signed in to change notification settings - Fork 19
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
Import annotations #132
Import annotations #132
Conversation
Codecov Report
@@ Coverage Diff @@
## main #132 +/- ##
==========================================
+ Coverage 95.29% 95.55% +0.26%
==========================================
Files 30 33 +3
Lines 1720 1821 +101
==========================================
+ Hits 1639 1740 +101
Misses 81 81
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.
Import Annotations
Import annotations can be used to either require or forbid the use of specific libraries. When PyBryt executes a notebook, it parses the AST of each code cell to determine any libraries imported in the code. It also captures the modules that any functions or classes it finds belong to when it is tracing through the notebook's code. These are collected into a set of library names, which are included in the memory footprint.
Closes #123