I get this false positive warning when I run pylintin my code,
E: 56, 7: Instance of 'bool' has no 'status_code' member (but some
types could not be inferred) (maybe-no-member)
From pylint-site , I see the code for the above error E1103. I added the following code in .pylintrcthe section MESSAGES CONTROLlike,
disable=E1103, E1101
He did not suppress the warning.
It's amazing that the passed flag is explicitly disabled
pylint -E --disable=maybe-no-member filename.py
How can I turn off flags from .pylintrcso that I don’t need to pass them every time?
source
share