前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >【说站】python中Pylint的信息类型

【说站】python中Pylint的信息类型

作者头像
很酷的站长
发布2022-11-23 16:20:11
4540
发布2022-11-23 16:20:11
举报
文章被收录于专栏:站长的编程笔记

python中Pylint的信息类型

说明

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

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

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

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

5、*(F)致命的。

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

实例

代码语言:javascript
复制
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的信息类型,希望对大家有所帮助。更多Python学习指路:python基础教程

本文教程操作环境:windows7系统、Python 3.9.1,DELL G3电脑。

收藏 | 0点赞 | 0打赏

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • python中Pylint的信息类型
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档