mirror of https://github.com/astral-sh/ruff
## Summary This PR modifies the semantics of `runtime-evaluated-decorators` to respect decorators on both classes _and_ functions. Historically, this only respected classes, since the common use-case is (e.g.) `pydantic.BaseModel` -- but functions are equally valid. Closes https://github.com/astral-sh/ruff/issues/9312. ## Test Plan `cargo test` |
||
|---|---|---|
| .. | ||
| fixtures | ||
| package | ||
| project | ||
| disallowed_rule_names.txt | ||