Python 未检测到Pylint错误单击string.strEp(string.strip)

Python 未检测到Pylint错误单击string.strEp(string.strip),python,string,pylint,Python,String,Pylint,如何配置Pylint以检测此错误单击 str="dsdsdsdsds" str1=str.splEt("d") 而不是 str1=str.split("d") 我的配置文件: [REPORTS] reports=no [MESSAGES CONTROL] disable=W,R,C 您的意思是因为缺少属性而导致无成员错误?它已经发出了这个消息,也许您正在pylintrc中的某个地方禁用该错误 No config file found, using default configura

如何配置Pylint以检测此错误单击

str="dsdsdsdsds"
str1=str.splEt("d")
而不是

str1=str.split("d")
我的配置文件:

[REPORTS]

reports=no

[MESSAGES CONTROL]

disable=W,R,C 

您的意思是因为缺少属性而导致无成员错误?它已经发出了这个消息,也许您正在pylintrc中的某个地方禁用该错误

No config file found, using default configuration
************* Module a
C:  1, 0: Final newline missing (missing-final-newline)
C:  1, 0: Exactly one space required around assignment
str1=str.splEt("d")    ^ (bad-whitespace)
C:  1, 0: Missing module docstring (missing-docstring)
C:  1, 0: Invalid constant name "str1" (invalid-name)
E:  1, 9: Class 'str' has no 'splEt' member (no-member)

我在pylintrc中找到了解决方案

[LOGGING]

logging-modules=logging

你的意思是拼写错误而不是点击错误!?