首页 > 编程语言 > 详细

Python : argument name should be lowercase 警告处理解决方法

时间:2020-06-27 21:35:09      阅读:212      评论:0      收藏:0      [点我收藏+]

用pyCharm时,常会出现警告信息:

function name should be lowercase   --函数名应该是小写  字母

argument name should be lowercase --参数名应该是小写字母

variable in function should be lowercase --变量应该是小写字母

 

解决方法:

File →Settings→Editor→Inspections→Python→PEP 8 naming convention violation

右下角有个"Ignored errors",增加:

N802

N803

N806

分别对应上面的三种提示。

技术分享图片

 

Python : argument name should be lowercase 警告处理解决方法

原文:https://www.cnblogs.com/sunxun001/p/13199786.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!