mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-18 19:41:34 +00:00
[ty] Limit shown import paths to at most 5 unless ty runs with -v (#20912)
This commit is contained in:
parent
c8133104e8
commit
9393279f65
11 changed files with 155 additions and 12 deletions
|
|
@ -98,6 +98,10 @@ impl Db for ModuleDb {
|
|||
fn lint_registry(&self) -> &LintRegistry {
|
||||
default_lint_registry()
|
||||
}
|
||||
|
||||
fn verbose(&self) -> bool {
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
#[salsa::db]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue