-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
E1101 on Flask.logger.<method> #2586
Comments
Thanks for reporting an issue! The thing with |
I'm still seeing this problem with |
pylint does not use typing but its inference (which fail is the code is too dynamic), see #4813 |
I see. Is there a specific config in |
For anyone finding this issue, my current workaround is by defining the following in [TYPECHECK]
generated-members=
logger.debug,
logger.info,
logger.warning,
logger.error,
logger.exception,
app.logger.debug,
app.logger.info,
app.logger.warning,
app.logger.error,
app.logger.exception,
APP.logger.debug,
APP.logger.info,
APP.logger.warning,
APP.logger.error,
APP.logger.exception |
Steps to reproduce
minimal.py
:pylint minimal.py
Current behavior
Expected behavior
No errors
pylint --version output
Additional information
This is for Flask version 1.0.2, which is current as of the date of this report.
The text was updated successfully, but these errors were encountered: