Skip to content

Comments

refactor(ast_tools): simplify code in AstKindGenerator#6774

Merged
graphite-app[bot] merged 1 commit intomainfrom
10-22-refactor_ast_tools_simplify_code_in_astkindgenerator_
Oct 22, 2024
Merged

refactor(ast_tools): simplify code in AstKindGenerator#6774
graphite-app[bot] merged 1 commit intomainfrom
10-22-refactor_ast_tools_simplify_code_in_astkindgenerator_

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Oct 22, 2024

Combine multiple filters into one.

The first 2 filters were doing the same thing, and combining the remaining 2 makes the code easier to read.

@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 22, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “0-merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

Copy link
Member Author

overlookmotel commented Oct 22, 2024

@github-actions github-actions bot added the A-ast-tools Area - AST tools label Oct 22, 2024
@github-actions github-actions bot added the C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior label Oct 22, 2024
@overlookmotel overlookmotel marked this pull request as ready for review October 22, 2024 11:27
@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label Oct 22, 2024 — with Graphite App
@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 22, 2024

Merge activity

@Boshen Boshen force-pushed the 10-22-refactor_ast_tools_remove_support_for_visit_as_ branch from 4151653 to b2bef76 Compare October 22, 2024 12:10
Boshen pushed a commit that referenced this pull request Oct 22, 2024
Combine multiple filters into one.

The first 2 filters were doing the same thing, and combining the remaining 2 makes the code easier to read.
@Boshen Boshen force-pushed the 10-22-refactor_ast_tools_simplify_code_in_astkindgenerator_ branch from d9e060d to d9ffee3 Compare October 22, 2024 12:11
Combine multiple filters into one.

The first 2 filters were doing the same thing, and combining the remaining 2 makes the code easier to read.
@Boshen Boshen force-pushed the 10-22-refactor_ast_tools_remove_support_for_visit_as_ branch from b2bef76 to 0b6db0e Compare October 22, 2024 12:14
@Boshen Boshen force-pushed the 10-22-refactor_ast_tools_simplify_code_in_astkindgenerator_ branch from d9ffee3 to 4689865 Compare October 22, 2024 12:15
Base automatically changed from 10-22-refactor_ast_tools_remove_support_for_visit_as_ to main October 22, 2024 12:19
@graphite-app graphite-app bot merged commit 4689865 into main Oct 22, 2024
@graphite-app graphite-app bot deleted the 10-22-refactor_ast_tools_simplify_code_in_astkindgenerator_ branch October 22, 2024 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0-merge Merge with Graphite Merge Queue A-ast-tools Area - AST tools C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants