[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