我已经搜索了一段时间,但没有给出详细的答案,当使用pylint时,您会收到以下消息:
C:201, 0: Line too long (113/100) (line-too-long)
E: 3, 0: No name QImage in module QtCore
R: 27, 4: Too many statements (62/50) (too-many-statements)
除了我没有为所有消息找到很好的资源(因为搜索结果只谈论短毛绒而不是已发布的文档)之外,我无法完全猜测C
,{ {1}},E
,R
的确切含义。
答案 0 :(得分:1)
直接在手册页中
OUTPUT
Using the default text output, the message format is :
MESSAGE_TYPE: LINE_NUM:[OBJECT:] MESSAGE
There are 5 kind of message types :
* (C) convention, for programming standard violation
* (R) refactor, for bad code smell
* (W) warning, for python specific problems
* (E) error, for probable bugs in the code
* (F) fatal, if an error occurred which prevented pylint from doing
further processing.