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: align local ruff with CI's dependency window (#9732)
Kiran Gadhave36fdf3b8ddbe
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 332e5b21de..345ce7ec73 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -39,7 +39,7 @@ repos:types: [python]- repo: https://github.com/astral-sh/ruff-pre-commit- rev: v0.15.10+ rev: v0.15.14hooks:# Run the linter- id: ruff-checkdiff --git a/marimo/_ai/_tools/tools/cells.py b/marimo/_ai/_tools/tools/cells.pyindex 33d4eb5c33..63702fc762 100644--- a/marimo/_ai/_tools/tools/cells.py+++ b/marimo/_ai/_tools/tools/cells.py@@ -24,7 +24,6 @@ from marimo._messaging.notification import (from marimo._types.ids import CellId_t, SessionIdif TYPE_CHECKING:- from marimo._ast.models import CellDatafrom marimo._session import Sessiondiff --git a/marimo/_ast/app.py b/marimo/_ast/app.pyindex f97c4c3cde..9fef1a13a2 100644--- a/marimo/_ast/app.py+++ b/marimo/_ast/app.py@@ -66,7 +66,6 @@ from marimo._schemas.serialization import (from marimo._types.ids import CellId_tif TYPE_CHECKING:- from collections.abc import Sequencefrom types import FrameType, TracebackTypefrom typing import TypeGuarddiff --git a/marimo/_lint/linter.py b/marimo/_lint/linter.pyindex e421ee3f06..43d9fbe379 100644--- a/marimo/_lint/linter.py+++ b/marimo/_lint/linter.py@@ -3,7 +3,6 @@ from __future__ import annotationsimport asyncioimport re-from collections.abc import AsyncIterator, Iteratorfrom dataclasses import dataclass, fieldfrom pathlib import Pathfrom typing import TYPE_CHECKINGdiff --git a/marimo/_plugins/ui/_impl/dataframes/transforms/handlers.py b/marimo/_plugins/ui/_impl/dataframes/transforms/handlers.pyindex 62f3eb2149..175fa25146 100644--- a/marimo/_plugins/ui/_impl/dataframes/transforms/handlers.py+++ b/marimo/_plugins/ui/_impl/dataframes/transforms/handlers.py@@ -3,7 +3,6 @@ from __future__ import annotationsimport datetimeimport decimal-from collections.abc import Callablefrom functools import reducefrom typing import TYPE_CHECKING, Anydiff --git a/marimo/_plugins/ui/_impl/table.py b/marimo/_plugins/ui/_impl/table.pyindex 23b9bac746..78db3bd387 100644--- a/marimo/_plugins/ui/_impl/table.py+++ b/marimo/_plugins/ui/_impl/table.py@@ -2,7 +2,6 @@from __future__ import annotationsimport functools-from collections.abc import Callablefrom dataclasses import dataclassfrom typing import (TYPE_CHECKING,@@ -14,7 +13,7 @@ from typing import ()if TYPE_CHECKING:- from collections.abc import Mapping+ from collections.abc import Callable, Mappingfrom narwhals.typing import IntoDataFrame@@ -78,7 +77,7 @@ from marimo._utils.narwhals_utils import ()if TYPE_CHECKING:- from collections.abc import Callable, Sequence+ from collections.abc import Sequencefrom narwhals.typing import IntoLazyFramediff --git a/marimo/_runtime/complete.py b/marimo/_runtime/complete.pyindex 97af4a57b6..3b73ceacf0 100644--- a/marimo/_runtime/complete.py+++ b/marimo/_runtime/complete.py@@ -5,7 +5,6 @@ import astimport htmlimport reimport sys-import threadingimport timefrom collections.abc import Collection, Mappingfrom functools import lru_cachediff --git a/marimo/_utils/narwhals_utils.py b/marimo/_utils/narwhals_utils.pyindex 9b0f85d434..885fff3dbb 100644--- a/marimo/_utils/narwhals_utils.py+++ b/marimo/_utils/narwhals_utils.py@@ -10,7 +10,6 @@ import narwhals as nw_mainimport narwhals.dtypes as nw_dtypesimport narwhals.stable.v1 as nw1import narwhals.stable.v2 as nw-from narwhals.typing import IntoDataFramefrom marimo import _loggersdiff --git a/pyproject.toml b/pyproject.tomlindex 8f73c28d8a..84e801561e 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -287,6 +287,11 @@ docs = []+[tool.uv]+# Mirror CI's dependency window (UV_EXCLUDE_NEWER in .github/workflows) so local+# resolution reproduces what CI resolves at setup time, including the ruff version.+exclude-newer = "7 days"+[tool.uv.sources]marimo_docs = { path = "./docs", editable = true }diff --git a/tests/_runtime/test_manage_script_metadata.py b/tests/_runtime/test_manage_script_metadata.pyindex ae00199ac5..3eebba93cf 100644--- a/tests/_runtime/test_manage_script_metadata.py+++ b/tests/_runtime/test_manage_script_metadata.py@@ -1,7 +1,6 @@# Copyright 2026 Marimo. All rights reserved.from __future__ import annotations-import pathlibfrom typing import TYPE_CHECKING, Any, castfrom unittest.mock import AsyncMock, Mock, call, patch