ruff/crates/ruff_python_ast/src
Charlie Marsh 9834c69c98
Remove `__all__` enforcement rules out of binding phase (#5897)
## Summary

This PR moves two rules (`invalid-all-format` and `invalid-all-object`)
out of the name-binding phase, and into the dedicated pass over all
bindings that occurs at the end of the `Checker`. This is part of my
continued quest to separate the semantic model-building logic from the
actual rule enforcement.
2023-07-19 21:18:47 +00:00
..
source_code Rename `ruff_python_whitespace` to `ruff_python_trivia` (#5886) 2023-07-19 11:48:27 -04:00
visitor Refactor `StmtIf`: Formatter and Linter (#5459) 2023-07-18 13:40:15 +02:00
all.rs Remove `__all__` enforcement rules out of binding phase (#5897) 2023-07-19 21:18:47 +00:00
call_path.rs Unroll `collect_call_path` to speed up common cases (#5792) 2023-07-18 11:29:59 -04:00
cast.rs Upgrade RustPython (#4900) 2023-06-08 05:53:14 +00:00
comparable.rs Use `.as_ref()` in lieu of `&**` (#5874) 2023-07-19 00:49:13 +00:00
docstrings.rs Move Python whitespace utilities into new `ruff_python_whitespace` crate (#4993) 2023-06-10 00:59:57 +00:00
function.rs Format Function definitions (#4951) 2023-06-08 16:07:33 +00:00
hashable.rs Create a `rust_python_ast` crate (#3370) 2023-03-07 15:18:40 +00:00
helpers.rs Implement `any_over_expr` for type alias and type params (#5866) 2023-07-19 16:17:06 -05:00
identifier.rs Rename `ruff_python_whitespace` to `ruff_python_trivia` (#5886) 2023-07-19 11:48:27 -04:00
imports.rs Include alias when formatting import-from structs (#5786) 2023-07-15 15:53:21 -04:00
lib.rs Remove suite body tracking from `SemanticModel` (#5848) 2023-07-18 18:58:31 -04:00
node.rs Implement `AnyNode` and `AnyNodRef` for `StmtTypeAlias` (#5863) 2023-07-18 10:44:55 -05:00
relocate.rs Refactor range from `Attributed` to `Node`s (#4422) 2023-05-16 06:36:32 +00:00
statement_visitor.rs Refactor `StmtIf`: Formatter and Linter (#5459) 2023-07-18 13:40:15 +02:00
stmt_if.rs Refactor `StmtIf`: Formatter and Linter (#5459) 2023-07-18 13:40:15 +02:00
str.rs Basic string formatting 2023-06-23 09:46:05 +02:00
token_kind.rs Implement `TokenKind` for type aliases (#5870) 2023-07-18 18:21:51 +00:00
traversal.rs Remove suite body tracking from `SemanticModel` (#5848) 2023-07-18 18:58:31 -04:00
types.rs Run nightly Clippy over the Ruff repo (#5670) 2023-07-10 23:44:38 -04:00
typing.rs Upgrade RustPython (#4747) 2023-05-31 08:26:35 +00:00
visitor.rs Refactor `StmtIf`: Formatter and Linter (#5459) 2023-07-18 13:40:15 +02:00
whitespace.rs Rename `ruff_python_whitespace` to `ruff_python_trivia` (#5886) 2023-07-19 11:48:27 -04:00