Skip to content

Commit

Permalink
fix jupyter issue (#219)
Browse files Browse the repository at this point in the history
* fix lint

* add check_type

* bugfix
  • Loading branch information
PythonFZ authored Feb 3, 2022
1 parent f97d24a commit 490189f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zntrack/core/jupyter.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def jupyter_class_to_file(silent, nb_name, module_name):
and not line.startswith("class")
and not line.startswith("def")
and not line.startswith("@")
and not line.startswith(")")
):
reading_class = False
if reading_class or line.startswith("class"):
Expand Down

0 comments on commit 490189f

Please sign in to comment.