ruff
Refactor `StmtIf`: Formatter and Linter
#5459
Merged

Refactor `StmtIf`: Formatter and Linter #5459

konstin merged 33 commits into main from refator-if-statement-formatter
konstin
konstin
konstin konstin requested a review from MichaReiser MichaReiser 2 years ago
MichaReiser
MichaReiser requested changes on 2023-07-03
MichaReiser MichaReiser requested a review from MichaReiser MichaReiser 2 years ago
konstin konstin force pushed from e20308fd to f348660d 2 years ago
konstin konstin force pushed from f348660d to 6b8274a9 2 years ago
konstin konstin added formatter
konstin konstin force pushed from 90735a47 to ae67543d 2 years ago
github-actions
konstin
konstin konstin force pushed from 76599a28 to c440683f 2 years ago
konstin konstin force pushed from 04bbaf51 to 67a6497f 2 years ago
konstin konstin force pushed from 99106737 to a8e84428 2 years ago
konstin konstin changed the title Refactor `StmtIf`: Formatter Refactor `StmtIf`: Formatter and Linter 2 years ago
konstin
konstin konstin removed review request from MichaReiser MichaReiser 2 years ago
konstin konstin requested a review from MichaReiser MichaReiser 2 years ago
MichaReiser
konstin
MichaReiser
MichaReiser approved these changes on 2023-07-17
konstin
konstin Port `FormatStmtIf` to the new `StmtIf` layout
38f767f9
konstin Some visitors
4efdd2f1
konstin Update crates/ruff_python_formatter/src/statement/stmt_if.rs
f0e9987c
konstin clarify FormatElifElseClause comment
1a6bdaee
konstin Fix visitor
33663c48
konstin Refactor `StmtIf`: Linter (#5460)
d075c2ea
konstin Update json schema
96b4cac1
konstin Fix TRY004 else bodies
9d29265c
konstin Fix SIM116 else
2f652fc8
konstin SIM116 else, right this time
f3945b93
konstin Schema with all features
4c3381a7
konstin TRY004 body
a5a400a2
konstin Fix StmtIf visitor to fix B007
2d8b9596
konstin Add custom visit_elif_else_clause
4a6cb5ed
konstin Fix F811
1011fcf2
konstin Fix SIM102 regression
d3930c71
konstin Fix PLR5501
813ae5d8
konstin override `CommentsVisitor::visit_elif_else_clause`
93680e9a
konstin Update crates/ruff_python_ast/src/visitor/preorder.rs
7d09d345
konstin Update crates/ruff_python_ast/src/visitor.rs
1c2f7138
konstin Update crates/ruff_python_ast/src/stmt_if.rs
09add155
konstin Update crates/ruff_python_ast/src/statement_visitor.rs
5614e723
konstin Update crates/ruff_python_ast/src/source_code/comment_ranges.rs
c7c467c4
konstin Remove outdated TODO
a1330eec
konstin More visitor fixes from review
75339a2c
konstin Make comment ranges a bit faster
68bc109b
konstin clippy
1529f78a
konstin Fix StmtIf with new visitors
c2e82f2c
konstin Pull in the newest parser changes
0dea85e6
konstin Fix instability in cpython
b58edebe
konstin More type alias
92de058a
konstin konstin force pushed from 04b37518 to 92de058a 2 years ago
konstin clippy
c76541bb
konstin Update to RustPython main with tag
ff9bd66a
konstin konstin merged 730e6b2b into main 2 years ago
konstin konstin deleted the refator-if-statement-formatter branch 2 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone