Remove added PyCharm metadata from cells in notebooks
@@ -75,6 +75,7 @@ def cli_jupyter_strip(ctx):
rawnb = nbformat.read(str(path), as_version=nbformat.NO_CONVERT)
for cell in rawnb.cells:
+ cell["metadata"].pop('pycharm', None)
if cell["cell_type"] == "code":
cell["execution_count"] = None
cell["outputs"] = []
