Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract node_comments to new module, return nodes instead of strings #450

Open
wants to merge 3 commits into
base: gh/amyreese/1/base
Choose a base branch
from

Conversation

amyreese
Copy link
Member

@amyreese amyreese commented May 1, 2024

[ghstack-poisoned]
@amyreese amyreese requested a review from zsol as a code owner May 1, 2024 01:57
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 1, 2024
Comment on lines 55 to +57
self.module: Module = parse_module(source)
self.timings: Timings = defaultdict(lambda: 0)
self.wrapper = MetadataWrapper(self.module)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: you can always get back to the module with self.wrapper.module

[ghstack-poisoned]
[ghstack-poisoned]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants