ruff/crates/ruff_python_ast/src
Charlie Marsh 2fa508793f
Return a slice in `StmtClassDef#bases` (#6311)
Slices are strictly more flexible, since you can always convert to an
iterator, etc., but not the other way around. Suggested in
https://github.com/astral-sh/ruff/pull/6259#discussion_r1282730994.
2023-08-03 16:21:55 +00:00
..
visitor Use `range: _` in lieu of `range: _range` (#6296) 2023-08-02 22:11:13 -04:00
all.rs Introduce an `Arguments` AST node for function calls and class definitions (#6259) 2023-08-02 10:01:13 -04:00
call_path.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
cast.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
comparable.rs Use `range: _` in lieu of `range: _range` (#6296) 2023-08-02 22:11:13 -04:00
docstrings.rs Move Python whitespace utilities into new `ruff_python_whitespace` crate (#4993) 2023-06-10 00:59:57 +00:00
function.rs Add formatting of type parameters in class and function definitions (#6161) 2023-08-02 20:29:28 +00:00
hashable.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
helpers.rs Use `range: _` in lieu of `range: _range` (#6296) 2023-08-02 22:11:13 -04:00
identifier.rs Rename `Parameter#arg` and `ParameterWithDefault#def` fields (#6255) 2023-08-01 14:28:34 -04:00
imports.rs Include alias when formatting import-from structs (#5786) 2023-07-15 15:53:21 -04:00
lib.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
node.rs Add formatting of type parameters in class and function definitions (#6161) 2023-08-02 20:29:28 +00:00
nodes.rs Return a slice in `StmtClassDef#bases` (#6311) 2023-08-03 16:21:55 +00:00
relocate.rs Introduce an `Arguments` AST node for function calls and class definitions (#6259) 2023-08-02 10:01:13 -04:00
statement_visitor.rs Use `range: _` in lieu of `range: _range` (#6296) 2023-08-02 22:11:13 -04:00
stmt_if.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
str.rs Basic string formatting 2023-06-23 09:46:05 +02:00
traversal.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
types.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00
visitor.rs Use `range: _` in lieu of `range: _range` (#6296) 2023-08-02 22:11:13 -04:00
whitespace.rs Ignore end-of-line file exemption comments (#6160) 2023-07-29 00:40:32 +00:00