Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Mar 25, 2025

Remove r# prefix from attribute keys when parsing attributes.

This fixes parsing e.g. #[estree(add_fields(r#static = False))].

Copy link
Member Author

overlookmotel commented Mar 25, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

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

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions bot added A-ast-tools Area - AST tools C-bug Category - Bug labels Mar 25, 2025
@overlookmotel overlookmotel marked this pull request as ready for review March 25, 2025 03:57
@overlookmotel
Copy link
Member Author

Have tested that this change solves the problem as intended, and I don't think anyone else understands ast_tools better than me at present, so merging without review.

@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Mar 25, 2025
Copy link
Member Author

overlookmotel commented Mar 25, 2025

Merge activity

  • Mar 25, 12:01 AM EDT: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Mar 25, 12:01 AM EDT: A user added this pull request to the Graphite merge queue.
  • Mar 25, 12:08 AM EDT: The Graphite merge queue removed this pull request due to downstack failures on PR #10024.
  • Mar 25, 4:08 AM UTC: The Graphite merge queue removed this pull request due to downstack failures on PR #10024.
  • Mar 25, 12:26 AM EDT: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Mar 25, 12:36 AM EDT: A user added this pull request to the Graphite merge queue.
  • Mar 25, 12:45 AM EDT: A user merged this pull request with the Graphite merge queue.

@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Mar 25, 2025
@overlookmotel overlookmotel force-pushed the 03-25-fix_ast_tools_remove_r_prefix_from_attr_parts_during_parsing branch from 0ece804 to 9ec8c0d Compare March 25, 2025 04:26
@overlookmotel overlookmotel force-pushed the 03-25-feat_ast_tools_better_handling_of_formatting_errors branch from 6059a86 to 9601dcc Compare March 25, 2025 04:26
@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Mar 25, 2025
…0026)

Remove `r#` prefix from attribute keys when parsing attributes.

This fixes parsing e.g. `#[estree(add_fields(r#static = False))]`.
@graphite-app graphite-app bot force-pushed the 03-25-feat_ast_tools_better_handling_of_formatting_errors branch from 9601dcc to 68ee796 Compare March 25, 2025 04:37
@graphite-app graphite-app bot force-pushed the 03-25-fix_ast_tools_remove_r_prefix_from_attr_parts_during_parsing branch from 9ec8c0d to cd5f444 Compare March 25, 2025 04:38
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Mar 25, 2025
Base automatically changed from 03-25-feat_ast_tools_better_handling_of_formatting_errors to main March 25, 2025 04:44
@graphite-app graphite-app bot merged commit cd5f444 into main Mar 25, 2025
15 checks passed
@graphite-app graphite-app bot deleted the 03-25-fix_ast_tools_remove_r_prefix_from_attr_parts_during_parsing branch March 25, 2025 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ast-tools Area - AST tools C-bug Category - Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants