mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-03 05:13:00 +00:00
## 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` |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||