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

fix check for empty required block #1858

Merged
merged 2 commits into from
Jun 1, 2023
Merged

fix check for empty required block #1858

merged 2 commits into from
Jun 1, 2023

Conversation

davidism
Copy link
Member

@davidism davidism commented Jun 1, 2023

An update to flake8-bugbear started showing issues with multiple statements in with pytest.raises blocks. Fixing the test revealed that the later statements were failing. This fixes the check to only descend into Output nodes, failing immediately for other nodes. Also, mypy would have caught this, but there was an ignore comment on it.

@davidism davidism added this to the 3.1.3 milestone Jun 1, 2023
@davidism davidism merged commit 051df10 into 3.1.x Jun 1, 2023
@davidism davidism deleted the fix-required-block branch June 1, 2023 17:42
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant