mirror of https://github.com/astral-sh/ruff
## Summary When writing back notebooks via `stdout`, we need to write back the entire JSON content, not _just_ the fixed source code. Otherwise, writing the output _back_ to the file will yield an invalid notebook. Closes https://github.com/astral-sh/ruff/issues/7747 ## Test Plan `cargo test` |
||
|---|---|---|
| .. | ||
| index.rs | ||
| lib.rs | ||
| notebook.rs | ||
| schema.rs | ||