Skip to content

chore(lint): ban every private marimo package outside compat - #103

Merged
peter-gy merged 1 commit into
mainfrom
pgy/ban-private-marimo-imports
Oct 17, 2026
Merged

peter-gy merged 1 commit into
mainfrom
pgy/ban-private-marimo-imports

Conversation

@peter-gy

Copy link
Copy Markdown
Collaborator

Ruff's banned-api list covered only some private marimo packages, so imports of marimo._convert and marimo._output outside marimo_export._marimo.compat passed the fast lint. This lists every private Python module that the pinned marimo 0.25.1 ships. The lint now catches a misplaced private import before the boundary test runs.

The Ruff banned-api list missed marimo._convert and marimo._output, which compat
already imports. List every private Python module shipped by the pinned marimo
0.25.1 so the fast lint matches the boundary test.
Copilot AI balanced review requested due to automatic review settings October 17, 2026 08:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 1 file

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread pyproject.toml
@peter-gy
peter-gy merged commit 87ddaa4 into main Oct 17, 2026
21 checks passed
@peter-gy
peter-gy deleted the pgy/ban-private-marimo-imports branch October 17, 2026 09:13
@github-actions

Copy link
Copy Markdown

marimo-export 0.2.2.dev2 from this pull request is available as a preview build:

uv pip install "marimo-export @ https://github.com/marimo-team/marimo-export/releases/download/preview/marimo_export-0.2.2.dev2-py3-none-any.whl"
pnpm add "https://github.com/marimo-team/marimo-export/releases/download/preview/marimo-team-marimo-export-0.2.2-dev.2.tgz"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants