ruff/crates
Charlie Marsh fc89976c24
Move `Ranged` into `ruff_text_size` (#6919)
## Summary

The motivation here is that this enables us to implement `Ranged` in
crates that don't depend on `ruff_python_ast`.

Largely a mechanical refactor with a lot of regex, Clippy help, and
manual fixups.

## Test Plan

`cargo test`
2023-08-27 14:12:51 -04:00
..
flake8_to_ruff Bump version to 0.0.286 (#6876) 2023-08-25 14:59:26 -04:00
ruff Move `Ranged` into `ruff_text_size` (#6919) 2023-08-27 14:12:51 -04:00
ruff_benchmark Use Codspeed for continous benchmarking (#6896) 2023-08-26 16:34:35 +02:00
ruff_cache Error on zero tab width (#6429) 2023-08-08 16:51:37 -04:00
ruff_cli Implement ConfigProcessor on non-ref type (#6915) 2023-08-27 15:03:11 +02:00
ruff_dev Improve formatter contributor docs (#6776) 2023-08-24 10:45:08 +00:00
ruff_diagnostics Avoid attempting to fix PT018 in multi-statement lines (#6829) 2023-08-23 19:09:34 -04:00
ruff_formatter Move `Ranged` into `ruff_text_size` (#6919) 2023-08-27 14:12:51 -04:00
ruff_index Add unreachable code rule (#5384) 2023-07-04 14:27:23 +00:00
ruff_macros Remove parser dependency from ruff-python-ast (#6096) 2023-07-26 17:47:22 +02:00
ruff_python_ast Move `Ranged` into `ruff_text_size` (#6919) 2023-08-27 14:12:51 -04:00
ruff_python_codegen Make `Parameters` an optional field on `ExprLambda` (#6669) 2023-08-18 15:34:54 +00:00
ruff_python_formatter Move `Ranged` into `ruff_text_size` (#6919) 2023-08-27 14:12:51 -04:00
ruff_python_index Move `Ranged` into `ruff_text_size` (#6919) 2023-08-27 14:12:51 -04:00
ruff_python_literal Avoid parsing other parts of a format specification if replacements are present (#6858) 2023-08-25 17:42:57 +00:00
ruff_python_parser Move `Ranged` into `ruff_text_size` (#6919) 2023-08-27 14:12:51 -04:00
ruff_python_resolver Replace `.map_or(false, $closure)` with `.is_some_and(closure)` (#6244) 2023-08-01 19:29:42 +02:00
ruff_python_semantic Move `Ranged` into `ruff_text_size` (#6919) 2023-08-27 14:12:51 -04:00
ruff_python_stdlib Replace `.map_or(false, $closure)` with `.is_some_and(closure)` (#6244) 2023-08-01 19:29:42 +02:00
ruff_python_trivia Move `Ranged` into `ruff_text_size` (#6919) 2023-08-27 14:12:51 -04:00
ruff_shrinking Move `Ranged` into `ruff_text_size` (#6919) 2023-08-27 14:12:51 -04:00
ruff_source_file Move `Ranged` into `ruff_text_size` (#6919) 2023-08-27 14:12:51 -04:00
ruff_text_size Move `Ranged` into `ruff_text_size` (#6919) 2023-08-27 14:12:51 -04:00
ruff_wasm Set a default on `PythonVersion` (#6446) 2023-08-09 15:19:27 +00:00