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

B906: ignore functions whose _fields attribute can't contain ast.AST subnodes #335

Merged
merged 1 commit into from
Jan 18, 2023

Conversation

jakkdl
Copy link
Contributor

@jakkdl jakkdl commented Jan 17, 2023

fixes #330

@jakkdl jakkdl force-pushed the B906_false_alarms branch 2 times, most recently from 15d86d7 to 4206ad7 Compare January 17, 2023 14:45
Copy link

@felix-hilden felix-hilden left a comment

Choose a reason for hiding this comment

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

Thanks for working on this so quickly 🙏 looking good apart from one thing below.

bugbear.py Outdated Show resolved Hide resolved
@cooperlees
Copy link
Collaborator

Will leave this for another release :)

@jakkdl
Copy link
Contributor Author

jakkdl commented Jan 18, 2023

Rebased on top of main and removed ImportFrom

Copy link
Collaborator

@cooperlees cooperlees left a comment

Choose a reason for hiding this comment

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

Sound research, tests show it does what we want and if @felix-hilden is happy I am happy here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

B906: Do not warn for missing visit calls for bottom-level nodes
3 participants