mirror of
https://github.com/astral-sh/ruff.git
synced 2026-11-24 18:29:13 +08:00
## Summary Today, Ruff represents root and nested configurations differently, duplicates Python-version fallback logic, and applies overrides while loading configurations. This PR changes configuration resolution to share `ResolvedSettings`, centralize fallbacks, and apply overrides when resolving settings. This lets callers combine configurations before applying CLI or editor overrides. Testing: Resolver and CLI tests pass.