Skip to content

Treat generic frozenset annotations as immutable#25251

Merged
charliermarsh merged 1 commit into
mainfrom
charlie/codex-b008-frozenset-immutable
May 20, 2026
Merged

Treat generic frozenset annotations as immutable#25251
charliermarsh merged 1 commit into
mainfrom
charlie/codex-b008-frozenset-immutable

Conversation

@charliermarsh
Copy link
Copy Markdown
Member

@charliermarsh charliermarsh commented May 20, 2026

Summary

Closes #25248.

@charliermarsh charliermarsh changed the title [ruff] Treat frozenset annotations as immutable for B008 Treat generic frozenset annotations as immutable May 20, 2026
@charliermarsh charliermarsh added the bug Something isn't working label May 20, 2026
@charliermarsh charliermarsh marked this pull request as ready for review May 20, 2026 00:11
@charliermarsh charliermarsh merged commit de64770 into main May 20, 2026
45 checks passed
@charliermarsh charliermarsh deleted the charlie/codex-b008-frozenset-immutable branch May 20, 2026 08:59
thejchap pushed a commit to thejchap/ruff that referenced this pull request May 23, 2026
anishgirianish pushed a commit to anishgirianish/ruff that referenced this pull request May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

function-call-in-default-argument (B008) exception, frozenset, not treated as exception

2 participants