python中Pylint的信息类型有哪些

小编给大家分享一下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.

以上是“python中Pylint的信息类型有哪些”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注行业资讯频道!