Skip to content

fix check for empty required block#1858

Merged
davidism merged 2 commits into3.1.xfrom
fix-required-block
Jun 1, 2023
Merged

fix check for empty required block#1858
davidism merged 2 commits into3.1.xfrom
fix-required-block

Conversation

@davidism
Copy link
Copy Markdown
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