We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Why is the adjustment necessary / better?
When not referencing the return of open, context management isn't necessary.
open
This is an example where the mentioned rule(s) would currently be suboptimal:
# Not referencing the return, simply just creating an empty file open(path, mode="w")
The text was updated successfully, but these errors were encountered:
MartinThoma
No branches or pull requests
Desired change
Explanation
Why is the adjustment necessary / better?
When not referencing the return of
open
, context management isn't necessary.Example
This is an example where the mentioned rule(s) would currently be suboptimal:
The text was updated successfully, but these errors were encountered: