ruff
b00f68a2 - [`ruff`] Allow more `field` calls from `attrs` (`RUF009`) (#19021)

Commit
167 days ago
[`ruff`] Allow more `field` calls from `attrs` (`RUF009`) (#19021) Summary -- Closes #19014 by identifying more `field` functions from `attrs`. We already detected these when imported from `attrs` but not the `attr` module from the same package. These functions are identical to the `attrs` versions: ```pycon >>> import attrs, attr >>> attrs.field is attr.field True >>> attrs.Factory is attr.Factory True >>> ``` Test Plan -- Regression tests based on the issue
Author
Parents
Loading