mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 12:55:05 +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` |
||
---|---|---|
.. | ||
configuration.rs | ||
lib.rs | ||
options.rs | ||
options_base.rs | ||
pyproject.rs | ||
resolver.rs | ||
settings.rs |