ruff
e986989c - [`ruff`] Add `ctypes.LittleEndianStructure` and others alike to existing exception (`RUF012`) (#27753)

Commit
1 day ago
[`ruff`] Add `ctypes.LittleEndianStructure` and others alike to existing exception (`RUF012`) (#27753) ## Summary #22559 Added an exception to the _fields_ Class Variable not needing an annotation. I have the same issue as what the fix is supposed to fix for certain variants of ctypes.Structure. ## Test Plan I extended the ruff012.py file with extra base types and then I added the extra base types to the helper.rs function that detected the original case. Then I updated the snapshot, as the output is what I now expect.
Author
Parents
Loading