Skip to content

[ruff] Handle attrs's auto_attribs correctly (RUF009)#14520

Merged
charliermarsh merged 2 commits intoastral-sh:mainfrom
InSyncWithFoo:RUF009
Nov 24, 2024
Merged

[ruff] Handle attrs's auto_attribs correctly (RUF009)#14520
charliermarsh merged 2 commits intoastral-sh:mainfrom
InSyncWithFoo:RUF009

Conversation

@InSyncWithFoo
Copy link
Contributor

Summary

Resolves #14519.

Test Plan

cargo nextest run and cargo insta test.

@InSyncWithFoo InSyncWithFoo changed the title [ruff] Handle attrs's auto_attribs correctly (RUF009`) [ruff] Handle attrs's auto_attribs correctly (RUF009) Nov 22, 2024
@github-actions
Copy link
Contributor

github-actions bot commented Nov 22, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Copy link
Member

@charliermarsh charliermarsh left a comment

Choose a reason for hiding this comment

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

Nicely done, thanks.

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.

RUF009 handles attrs dataclasses with auto_attribs = False incorrectly

2 participants