ruff/crates/ruff_cli/src
Aarni Koskela 7b4dde0c6c
Add JSON Lines (NDJSON) message serialization (#5048)
## Summary

This adds `json-lines` (https://jsonlines.org/ or http://ndjson.org/) as
an output format.

I'm sure you already know, but

* JSONL is more greppable (each record is a single line) than the pretty
JSON
* JSONL is faster to ingest piecewise (and/or in parallel) than JSON

## Test Plan

Snapshot test in the new module :)
2023-06-13 14:15:55 +00:00
..
bin Add support for providing command-line arguments via argfile (#4087) 2023-04-25 17:58:21 -06:00
commands Ignore pyproject.toml for adding noqa directives (#5013) 2023-06-11 20:21:24 -04:00
args.rs Use a separate PrinterFlag for including fix diffs (#4615) 2023-05-24 10:22:37 -04:00
cache.rs Rename ruff_python_semantic's Context struct to SemanticModel (#4565) 2023-05-22 02:35:03 +00:00
diagnostics.rs Add support for auto-fix in Jupyter notebooks (#4665) 2023-06-12 14:14:15 +00:00
lib.rs Update links to point to Astral org (#4949) 2023-06-08 11:43:40 -04:00
panic.rs Disallow unreachable_pub (#4314) 2023-05-11 18:00:00 -04:00
printer.rs Add JSON Lines (NDJSON) message serialization (#5048) 2023-06-13 14:15:55 +00:00
resolve.rs Disallow unreachable_pub (#4314) 2023-05-11 18:00:00 -04:00