mirror of
https://github.com/astral-sh/ruff
synced 2026-01-07 06:34:07 -05:00
[ty] Allow overriding rules for specific files (#18648)
This commit is contained in:
@@ -260,7 +260,7 @@ impl ty_python_semantic::Db for CorpusDb {
|
||||
!file.path(self).is_vendored_path()
|
||||
}
|
||||
|
||||
fn rule_selection(&self) -> &RuleSelection {
|
||||
fn rule_selection(&self, _file: File) -> &RuleSelection {
|
||||
&self.rule_selection
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user