ruff
19569bf8 - Add `LinterContext::settings` to avoid passing separate settings (#19608)

Commit
165 days ago
Add `LinterContext::settings` to avoid passing separate settings (#19608) Summary -- I noticed while reviewing #19390 that in `check_tokens` we were still passing around an extra `LinterSettings`, despite all of the same functions also receiving a `LintContext` with its own settings. This PR adds the `LintContext::settings` method and calls that instead of using the separate `LinterSettings`. Test Plan -- Existing tests
Author
Parents
Loading