mirror of
https://github.com/astral-sh/ruff
synced 2026-01-11 08:34:29 -05:00
## Summary This PR does a small refactor to avoid double `symbol_table(...).symbol(...)` call to check for `__slots__` and `TYPE_CHECKING`. It merges them into a single call. I noticed this while looking at https://github.com/astral-sh/ruff/pull/16468.