A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
fix: markdown snapshots (#6990)
Dylan Madisetti27844c622bb7
diff --git a/marimo/_lint/rules/formatting/markdown_dedent.py b/marimo/_lint/rules/formatting/markdown_dedent.pyindex bd0cf751eb..133bfd34fd 100644--- a/marimo/_lint/rules/formatting/markdown_dedent.py+++ b/marimo/_lint/rules/formatting/markdown_dedent.py@@ -88,7 +88,7 @@ class MarkdownDedentRule(LintRule):breakif not notebook_cell:- return+ continue# Check if the markdown string needs dedenting# Use tokenize like codegen does to extract quote stylediff --git a/tests/_convert/snapshots/pypercent_format.py.txt b/tests/_convert/snapshots/pypercent_format.py.txtindex 083dbe410a..dd4f247126 100644--- a/tests/_convert/snapshots/pypercent_format.py.txt+++ b/tests/_convert/snapshots/pypercent_format.py.txt@@ -14,12 +14,10 @@ def _():@app.cell(hide_code=True)def _(mo):- mo.md(- r"""+ mo.md(r"""This is a markdown cellwith multiple lines- """- )+ """)returndiff --git a/tests/_convert/snapshots/pypercent_markdown_only.py.txt b/tests/_convert/snapshots/pypercent_markdown_only.py.txtindex f419e15935..aba2e90dd2 100644--- a/tests/_convert/snapshots/pypercent_markdown_only.py.txt+++ b/tests/_convert/snapshots/pypercent_markdown_only.py.txt@@ -12,23 +12,19 @@ def _():@app.cell(hide_code=True)def _(mo):- mo.md(- r"""+ mo.md(r"""IntroductionThis is a documentation file.- """- )+ """)return@app.cell(hide_code=True)def _(mo):- mo.md(- r"""+ mo.md(r"""UsageHere's how to use this module.- """- )+ """)return