ruff/crates
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
..
flake8_to_ruff Bump version to v0.1.9 (#9231) 2023-12-21 13:19:50 -05:00
ruff_benchmark Remove lexing and parsing from the linter benchmark (#9264) 2023-12-23 16:43:11 -05:00
ruff_cache Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
ruff_cli Remove lexing and parsing from the linter benchmark (#9264) 2023-12-23 16:43:11 -05:00
ruff_dev Update `ruff-dev` to use `SourceKind` (#8878) 2023-11-28 14:27:35 -06:00
ruff_diagnostics Enable annotation quoting for multi-line expressions (#9142) 2023-12-15 01:03:09 +00:00
ruff_formatter remove several uses of `unsafe` (#8600) 2023-11-28 09:50:03 -05:00
ruff_index Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
ruff_linter Remove lexing and parsing from the linter benchmark (#9264) 2023-12-23 16:43:11 -05:00
ruff_macros remove several uses of `unsafe` (#8600) 2023-11-28 09:50:03 -05:00
ruff_notebook Prevent invalid utf8 indexing in cell magic detection (#9146) 2023-12-15 08:15:46 -06:00
ruff_python_ast [`ruff`] Add `never-union` rule to detect redundant `typing.NoReturn` and `typing.Never` (#9217) 2023-12-21 20:53:31 +00:00
ruff_python_codegen Add `as_slice` method for all string nodes (#9111) 2023-12-13 06:31:20 +00:00
ruff_python_formatter Improve `dummy_implementations` preview style formatting (#9240) 2023-12-22 03:44:14 +00:00
ruff_python_index Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
ruff_python_literal remove several uses of `unsafe` (#8600) 2023-11-28 09:50:03 -05:00
ruff_python_parser Remove lexing and parsing from the linter benchmark (#9264) 2023-12-23 16:43:11 -05:00
ruff_python_resolver Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
ruff_python_semantic Remove special pre-visit for module docstrings (#9261) 2023-12-23 10:03:12 -05:00
ruff_python_stdlib Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
ruff_python_trivia Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
ruff_shrinking Bump version to v0.1.9 (#9231) 2023-12-21 13:19:50 -05:00
ruff_source_file remove several uses of `unsafe` (#8600) 2023-11-28 09:50:03 -05:00
ruff_text_size Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
ruff_wasm Remove lexing and parsing from the linter benchmark (#9264) 2023-12-23 16:43:11 -05:00
ruff_workspace Add `target_version` to formatter options (#9220) 2023-12-21 04:05:58 +00:00