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

Tech Debt: Resolve contextmanager-generator-missing-cleanup pylint warnings #313

Closed
dogversioning opened this issue May 16, 2024 · 1 comment

Comments

@dogversioning
Copy link
Contributor

Relates to #312. This seemingly innocuous warning is stuborn to resolve while using nested generators - and the error is reported in the calling function, not the generator itself, though it could be in either - so for now we've just disabled it where it occurs.

Docs are at https://pylint.readthedocs.io/en/latest/user_guide/messages/warning/contextmanager-generator-missing-cleanup.html - since this is fairly new behavior, perhaps there will be updates here?

@mikix
Copy link
Contributor

mikix commented May 28, 2024

This turned out to be a false positive in pylint

@mikix mikix closed this as completed May 28, 2024
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

No branches or pull requests

2 participants