mirror of
https://github.com/astral-sh/ruff
synced 2026-01-21 05:20:49 -05:00
## Summary Generalizes the abstractions for name matching introduced in https://github.com/astral-sh/ruff/pull/6378 and applies them to the existing `banned_api` rule, such that both rules have a uniform API and implementation. ## Test Plan `cargo test`