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 Ruff PYI036 - Type annotations for context manager exit #954

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

ogenstad
Copy link
Collaborator

@ogenstad ogenstad commented Jul 1, 2024

The first argument in __exit__ should be annotated with object or `type[BaseException] | None

The first argument in `__exit__` should be annotated with `object` or `type[BaseException] | None
@ogenstad ogenstad marked this pull request as ready for review July 1, 2024 06:15
@dbarrosop dbarrosop merged commit 03b576a into main Jul 1, 2024
26 checks passed
@dbarrosop dbarrosop deleted the ogenstad/exit branch July 1, 2024 07:13
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.

2 participants