We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b0d9f0 commit 1fd9ef6Copy full SHA for 1fd9ef6
marimo/_ast/parse.py
@@ -840,7 +840,7 @@ def parse_notebook(contents: str) -> Optional[NotebookSerialization]:
840
)
841
842
remaining = parser.extractor.contents[len(header.value) :]
843
- if len(remaining.strip()) != 0:
+ if remaining.strip():
844
# just a header is fine, anything else we would ignore and override
845
violations.append(
846
Violation(
0 commit comments