MB001: unparsable-cells¶
🚨 Breaking ❌ Not Fixable
MB001: Cell contains unparsable code.
What it does¶
Identifies cells that cannot be parsed into valid Python AST nodes, indicating fundamental syntax or encoding problems that prevent the notebook from being loaded.
Why is this bad?¶
Unparsable cells prevent the notebook from running as a script and will throw errors when executed in notebook mode. While marimo can still open the notebook, these cells cannot be run until the parsing issues are resolved.
Examples¶
Problematic:
Problematic:
Solution: