You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in this case, i can't replace the __enter__ call with a with statement because __exit__ is not called in the same place. ruff should be able to detect cases like this where __enter__ is called on its own
The text was updated successfully, but these errors were encountered:
i have a context manager that wraps another context manager, eg:
playground
in this case, i can't replace the
__enter__
call with awith
statement because__exit__
is not called in the same place. ruff should be able to detect cases like this where__enter__
is called on its ownThe text was updated successfully, but these errors were encountered: