mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 05:44:56 +00:00
[ty] Reduce size of member table (#19572)
This commit is contained in:
parent
cc97579c3b
commit
b96aa4605b
5 changed files with 722 additions and 134 deletions
|
@ -156,7 +156,9 @@ fn run_check(args: CheckCommand) -> anyhow::Result<ExitStatus> {
|
|||
match std::env::var(EnvVars::TY_MEMORY_REPORT).as_deref() {
|
||||
Ok("short") => write!(stdout, "{}", db.salsa_memory_dump().display_short())?,
|
||||
Ok("mypy_primer") => write!(stdout, "{}", db.salsa_memory_dump().display_mypy_primer())?,
|
||||
Ok("full") => write!(stdout, "{}", db.salsa_memory_dump().display_full())?,
|
||||
Ok("full") => {
|
||||
write!(stdout, "{}", db.salsa_memory_dump().display_full())?;
|
||||
}
|
||||
Ok(other) => {
|
||||
tracing::warn!(
|
||||
"Unknown value for `TY_MEMORY_REPORT`: `{other}`. Valid values are `short`, `mypy_primer`, and `full`."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue