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
chore(ruff): enable logging argument check (#10544)
Shahmir Varqhabdcc80bc7827
diff --git a/marimo/_runtime/complete.py b/marimo/_runtime/complete.pyindex 271cfc027f..55dd5057f4 100644--- a/marimo/_runtime/complete.py+++ b/marimo/_runtime/complete.py@@ -787,7 +787,7 @@ def complete()except Exception as e:# jedi failed to provide completion- LOGGER.debug("Completion with jedi failed: ", str(e))+ LOGGER.debug("Completion with jedi failed: %s", e)_write_no_completions(stream, request.id)finally:try:diff --git a/marimo/_server/api/endpoints/ws/ws_rtc_handler.py b/marimo/_server/api/endpoints/ws/ws_rtc_handler.pyindex 6e0263ba56..d6eb419920 100644--- a/marimo/_server/api/endpoints/ws/ws_rtc_handler.py+++ b/marimo/_server/api/endpoints/ws/ws_rtc_handler.py@@ -57,7 +57,7 @@ class RTCWebSocketHandler:# Set up update handlingdef handle_doc_update(event: DiffEvent) -> None:- LOGGER.debug("RTC: doc updated", event)+ LOGGER.debug("RTC: doc updated: %s", event)# Subscribe to LoroDoc updatessubscription = doc.subscribe_root(handle_doc_update)diff --git a/pyproject.toml b/pyproject.tomlindex 2433a93fac..c14c67aa1e 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -387,7 +387,6 @@ ignore = ["S112", # `try`-`except`-`continue`"TRY203", # Useless `try`-`except`"PLC0105", # Type name incorrect variance- "PLE1205", # Logging too many args"PLW1508", # Invalid envvar default"PLW1509", # `subprocess` `preexec_fn` argument"PYI063", # PEP 484-style positional-only parameter