mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 21:34:57 +00:00
[ty] Add separate CI job for memory usage stats (#19134)
## Summary As discussed in https://github.com/astral-sh/ruff/pull/19059.
This commit is contained in:
parent
56258bb3b7
commit
cd848986d7
6 changed files with 118 additions and 44 deletions
|
@ -296,6 +296,11 @@ impl MainLoop {
|
|||
tracing::warn!("No python files found under the given path(s)");
|
||||
}
|
||||
|
||||
// TODO: We should have an official flag to silence workspace diagnostics.
|
||||
if std::env::var("TY_MEMORY_REPORT").as_deref() == Ok("mypy_primer") {
|
||||
return Ok(ExitStatus::Success);
|
||||
}
|
||||
|
||||
let mut stdout = stdout().lock();
|
||||
|
||||
if result.is_empty() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue