You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following code snippet, pylint complains about line 3 with E1101: Module 'sys' has no '__getattribute__' member (no-member):
import sys
print(sys.__getattribute__("argv"))
print(sys.__dict__)
s = "hello"
print(s.__getattribute__("capitalize")())
Note that this seems to be OK for other usages of __getattribute__.
Configuration
No response
Command used
`pylint test.py`
Pylint output
************* Module caosadvancedtools.models.test
test.py:1:0: C0114: Missing module docstring (missing-module-docstring)
test.py:3:6: E1101: Module 'sys' has no '__getattribute__' member (no-member)
test.py:6:0: C0103: Constant name "s" doesn't conform to UPPER_CASE naming style (invalid-name)--------------------------------------------------------------------Your code has been rated at -4.00/10 (previous run: -4.00/10, +0.00)
Bug description
In the following code snippet, pylint complains about line 3 with
E1101: Module 'sys' has no '__getattribute__' member (no-member)
:Note that this seems to be OK for other usages of
__getattribute__
.Configuration
No response
Command used
`pylint test.py`
Pylint output
Expected behavior
Line 3 should be just as OK as line 7.
Pylint version
OS / Environment
Debian 11
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: