ploomber / soorgeon

Convert monolithic Jupyter notebooks 📙 into maintainable Ploomber pipelines. 📊
https://ploomber.io
Apache License 2.0
78 stars 20 forks source link

validating and skipping classes when scanning #26

Open edublancas opened 2 years ago

edublancas commented 2 years ago

We must validate class definitions do not use global variables (similar to what we do with functions in _check_functions_do_not_use_global_variables).

Also, the scanner should skip to the last leaf the class definition, we don't need to validate the content