ruff/crates/ruff_notebook/src
Charlie Marsh ebdfcee87f
Write full Jupyter notebook to stdout (#7748)
## 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`
2023-10-02 14:20:13 +00:00
..
index.rs Add NotebookIndex to the cache (#6863) 2023-09-12 18:29:03 +05:30
lib.rs Create ruff_notebook crate (#7039) 2023-09-01 13:56:44 +00:00
notebook.rs Write full Jupyter notebook to stdout (#7748) 2023-10-02 14:20:13 +00:00
schema.rs Create ruff_notebook crate (#7039) 2023-09-01 13:56:44 +00:00