ruff/crates/ruff_cli/src
Charlie Marsh 9d6444138b
Remove lexing and parsing from the linter benchmark (#9264)
## Summary

This PR adds some helper structs to the linter paths to enable passing
in the pre-computed tokens and parsed source code during benchmarking,
to remove lexing and parsing from the overall linter benchmark
measurement. We already remove parsing for the formatter, and we have
separate benchmarks for the lexer and the parser, so this should make it
much easier to measure linter performance changes.
2023-12-23 16:43:11 -05:00
..
bin Replace `.map_or(false, $closure)` with `.is_some_and(closure)` (#6244) 2023-08-01 19:29:42 +02:00
commands Update format.rs to display correct message for already formatted files (#9153) 2023-12-18 00:07:21 -05:00
snapshots Add `ruff version` with long version display (#8034) 2023-10-20 14:07:41 -05:00
args.rs Update `ruff check` and `ruff format` to default to the current directory (#8791) 2023-11-21 11:34:21 -06:00
cache.rs Dedicated cache directory per ruff version (#8333) 2023-10-30 09:08:30 +00:00
diagnostics.rs Remove lexing and parsing from the linter benchmark (#9264) 2023-12-23 16:43:11 -05:00
lib.rs Update `ruff check` and `ruff format` to default to the current directory (#8791) 2023-11-21 11:34:21 -06:00
panic.rs Disallow `unreachable_pub` (#4314) 2023-05-11 18:00:00 -04:00
printer.rs Feature: Add SARIF output support (#9078) 2023-12-13 00:33:19 -05:00
resolve.rs Improve debug printing for resolving origin of config settings (#8729) 2023-11-17 01:10:36 +00:00
stdin.rs Write unchanged, excluded files to stdout when read via stdin (#8596) 2023-11-09 23:15:01 -05:00
version.rs Add `ruff version` with long version display (#8034) 2023-10-20 14:07:41 -05:00