ruff/crates/ruff_notebook
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
..
resources/test/fixtures/jupyter Create ruff_notebook crate (#7039) 2023-09-01 13:56:44 +00:00
src Write full Jupyter notebook to stdout (#7748) 2023-10-02 14:20:13 +00:00
Cargo.toml chore: Upgrade pyproject-toml crate (#7335) 2023-09-13 17:55:03 +02:00