mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-26 18:06:36 +00:00
## Summary The tokenizer was split into a forward and a backwards tokenizer. The backwards tokenizer uses the same names as the forwards ones (e.g. `next_token`). The backwards tokenizer gets the comment ranges that we already built to skip comments. --------- Co-authored-by: Micha Reiser <micha@reiser.io>
25 lines
653 B
TOML
25 lines
653 B
TOML
[package]
|
|
name = "ruff_python_trivia"
|
|
version = "0.0.0"
|
|
publish = false
|
|
authors = { workspace = true }
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
homepage = { workspace = true }
|
|
documentation = { workspace = true }
|
|
repository = { workspace = true }
|
|
license = { workspace = true }
|
|
|
|
[lib]
|
|
|
|
[dependencies]
|
|
ruff_text_size = { path = "../ruff_text_size" }
|
|
ruff_source_file = { path = "../ruff_source_file" }
|
|
|
|
itertools = { workspace = true }
|
|
unicode-ident = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
insta = { workspace = true }
|
|
ruff_python_ast = { path = "../ruff_python_ast" }
|
|
ruff_python_parser = { path = "../ruff_python_parser" }
|