ruff/crates/ruff_python_formatter/src/other
Charlie Marsh 5f3da9955a
Rename ruff_python_whitespace to ruff_python_trivia (#5886)
## Summary

This crate now contains utilities for dealing with trivia more broadly:
whitespace, newlines, "simple" trivia lexing, etc. So renaming it to
reflect its increased responsibilities.

To avoid conflicts, I've also renamed `Token` and `TokenKind` to
`SimpleToken` and `SimpleTokenKind`.
2023-07-19 11:48:27 -04:00
..
alias.rs Format import statements (#5493) 2023-07-04 07:07:20 +00:00
arg.rs Format Identifier (#5255) 2023-06-21 17:35:37 +02:00
arg_with_default.rs Fix ArgWithDefault comments handling (#5204) 2023-06-20 20:48:07 +00:00
arguments.rs Rename ruff_python_whitespace to ruff_python_trivia (#5886) 2023-07-19 11:48:27 -04:00
comprehension.rs Omit tuple parentheses inside comprehensions (#5790) 2023-07-19 12:05:38 +00:00
decorator.rs Pass parent to NeedsParentheses (#5708) 2023-07-13 08:57:29 +02:00
elif_else_clause.rs Formatter: Run generate.py for ElifElseClauses (#5864) 2023-07-18 17:17:17 +02:00
except_handler_except_handler.rs Pass parent to NeedsParentheses (#5708) 2023-07-13 08:57:29 +02:00
identifier.rs Format Identifier (#5255) 2023-06-21 17:35:37 +02:00
keyword.rs Format call expressions (without call chaining) (#5341) 2023-06-27 09:29:40 +00:00
match_case.rs Replace verbatim text with NOT_YET_IMPLEMENTED (#4904) 2023-06-07 14:57:25 +02:00
mod.rs Formatter: Run generate.py for ElifElseClauses (#5864) 2023-07-18 17:17:17 +02:00
type_ignore_type_ignore.rs Replace verbatim text with NOT_YET_IMPLEMENTED (#4904) 2023-06-07 14:57:25 +02:00
with_item.rs Parenthesize with statements (#5758) 2023-07-15 16:03:09 +01:00