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): use positional-only stream arguments (#10541)
Shahmir Varqha07cb1baefa2a
diff --git a/marimo/_messaging/types.py b/marimo/_messaging/types.pyindex bf6f9487f2..112660fddd 100644--- a/marimo/_messaging/types.py+++ b/marimo/_messaging/types.py@@ -78,9 +78,9 @@ class Stdout(io.TextIOBase, abc.ABC):) -> int:pass- def write(self, __s: str) -> int:+ def write(self, s: str, /) -> int:return self._write_with_mimetype(- _ensure_plain_str(__s), mimetype="text/plain"+ _ensure_plain_str(s), mimetype="text/plain")def _stop(self) -> None:@@ -96,9 +96,9 @@ class Stderr(io.TextIOBase, abc.ABC):) -> int:pass- def write(self, __s: str) -> int:+ def write(self, s: str, /) -> int:return self._write_with_mimetype(- _ensure_plain_str(__s), mimetype="text/plain"+ _ensure_plain_str(s), mimetype="text/plain")def _stop(self) -> None:diff --git a/pyproject.toml b/pyproject.tomlindex c14c67aa1e..b95c197c0f 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -389,7 +389,6 @@ ignore = ["PLC0105", # Type name incorrect variance"PLW1508", # Invalid envvar default"PLW1509", # `subprocess` `preexec_fn` argument- "PYI063", # PEP 484-style positional-only parameter"DTZ002", # `datetime.today()` called without tz"PLE0704", # Misplaced bare `raise`"PLW0129", # Assert on string literal