-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
not-async-context-manager false positive: wrapped asynccontextmanager #3862
Comments
This check is similarly confused by context manager provided by decorators on Trio's CapacityLimiter: (that may be covered by existing |
can confirm also facing the same issue pylint 2.6.0 |
@belm0, @ToucanBran thank for the report.
|
…synccontextmanager` is used Close #3862
…synccontextmanager` is used Close #3862
Steps to reproduce
The troubling thing is that
foo()
is part of a public API, which means every project using it would need to suppress not-async-context-manager.pylint --version output
pylint 2.6.0
astroid 2.4.2
Python 3.8.2 (default, Jun 15 2020, 10:47:09)
[Clang 9.0.0 (clang-900.0.39.2)]
The text was updated successfully, but these errors were encountered: