ruff/crates/ruff_cli/src
Ran Benita 33c31cda27
Add noqa_row to diagnostics JSON format (#3228)
In ruff-lsp (https://github.com/charliermarsh/ruff-lsp/pull/76) we want to add a "Disable \<rule\> for this line" quickfix. However, finding the correct line into which the `noqa` comment should be inserted is non-trivial (multi-line strings for example).

Ruff already has this info, so expose it in the JSON output for use by ruff-lsp.
2023-02-25 18:13:16 -05:00
..
commands Add noqa_row to diagnostics JSON format (#3228) 2023-02-25 18:13:16 -05:00
args.rs clean up to fix nightly clippy warnings and dedents (#3057) 2023-02-20 09:33:47 -05:00
cache.rs Include file permissions in cache key (#3104) 2023-02-21 18:20:06 -05:00
diagnostics.rs Adapt BoolLike to flags (#3175) 2023-02-23 16:31:46 -05:00
iterators.rs refactor: Introduce crates folder (#2088) 2023-02-05 16:47:48 -05:00
lib.rs Reorder imports (#2638) 2023-02-07 16:22:47 -05:00
main.rs Adapt is-macro for a few enums (#3182) 2023-02-24 04:06:56 +00:00
printer.rs Add noqa_row to diagnostics JSON format (#3228) 2023-02-25 18:13:16 -05:00
resolve.rs Support shell expansion for --config argument (#3107) 2023-02-21 23:33:41 +00:00