导语:
本文主要介绍了关于python中Pylint的信息类型的相关知识,包括python创建的程序文件类型扩展名为,以及python中的空类型这些编程知识,希望对大家有参考作用。
说明
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.
本文教程操作环境:windows7系统、Python 3.9.1,DELL G3电脑。
本文为原创文章,版权归知行编程网所有,欢迎分享本文,转载请保留出处!
你可能也喜欢
- ♥ python中函数返回值是什么意思08/29
- ♥ 如何在python中求平方根08/12
- ♥ 如何使用python divmod函数来处理数字?12/12
- ♥ python遍历列表的注意事项10/17
- ♥ 在python中触发执行__call__11/18
- ♥ 如何做没有最后一个字符的python字符串?12/27
内容反馈