Summary
The following code does not seem to trigger the linter rule RUF009.
@dataclasses.dataclass
class A:
timestamp: str = dataclasses.field(default=datetime.datetime.utcnow().isoformat())
Based on the description of the rule, I was expecting this to get flagged to use default_factory.
Version
ruff 0.11.0