ruff
[`ruff`] Add exception for `ctypes.Structure._fields_` (`RUF012`)
#22559
Merged

[`ruff`] Add exception for `ctypes.Structure._fields_` (`RUF012`) #22559

ntBre merged 4 commits into astral-sh:main from caiquejjx:fix-22166
caiquejjx
caiquejjx RUF012 Add exception for `ctypes.Structure` __fields__
419245f4
amyreese amyreese added rule
amyreese
caiquejjx Add tests
327fb191
caiquejjx
astral-sh-bot
caiquejjx Clippy fixes
a508dc93
ntBre
ntBre approved these changes on 2026-01-15
ntBre ntBre changed the title [RUF012] Add exception for `ctypes.Structure._fields_` [`ruff`] Add exception for `ctypes.Structure._fields_` (`RUF012`) 21 hours ago
ntBre Update crates/ruff_linter/src/rules/ruff/rules/mutable_class_default.rs
35e4a9a1
ntBre ntBre enabled auto-merge (squash) 20 hours ago
ntBre ntBre merged 0ce5ce4d into main 20 hours ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone