python中Pylint的信息类型

420次阅读
没有评论

python中Pylint的信息类型

说明

1、*(C)约定,用于违反编程标准。

2、*(R)重构,针对不好的代码口味。

3、*(W)警告python的特定问题。

4、*(E)错误用于代码中可能的错误。

5、*(F)致命的。

如果发生错误,pylint将无法进一步处理。

实例

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.
神龙|纯净稳定代理IP免费测试>>>>>>>>天启|企业级代理IP免费测试>>>>>>>>IPIPGO|全球住宅代理IP免费测试

相关文章:

版权声明:wuyou2022-07-24发表,共计523字。
新手QQ群:570568346,欢迎进群讨论 Python51学习