Skip to content

Lazy import compatibility with ruff v0.17.0 - #2358

Merged
rolandwalker merged 1 commit into
mainfrom
RW/ruff-0-17-0-compat
Oct 11, 2026
Merged

rolandwalker merged 1 commit into
mainfrom
RW/ruff-0-17-0-compat

Conversation

@rolandwalker

@rolandwalker rolandwalker commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Description

The next feature version of ruff will enforce a check that imports marked lazy are not also eagerly loaded.

This change does not update ruff, but is only for forward compatibility.

xref https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md#0170

Checklist

  • I added this contribution to the changelog.md file.
  • I added my name to the mycli/AUTHORS.txt file (or it's already there).
  • To lint and format the code, I ran
    uv run ruff check && uv run ruff format && uv run mypy --install-types .

@rolandwalker rolandwalker self-assigned this Oct 11, 2026
The next feature version of ruff will enforce a check that imports
marked lazy are not also eagerly loaded.

This change does not update ruff, but is only for forward compatibility.
@rolandwalker
rolandwalker force-pushed the RW/ruff-0-17-0-compat branch from b87d5f4 to 840f06b Compare October 11, 2026 13:39
@rolandwalker
rolandwalker merged commit 2b5a043 into main Oct 11, 2026
12 checks passed
@rolandwalker
rolandwalker deleted the RW/ruff-0-17-0-compat branch October 11, 2026 13:45
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.

1 participant