两个pycharm编译器出现的警告
1,Python:variable in function(argument、function) name should be lowercase
python 方法名字参数变量都应该是小写字母 和 AS编译器不一样
忽略这种警告的方法:
File →Settings→Editor→Inspections→Python→PEP 8 naming convention violation
右下角有个"Ignored errors",增加:
N802 函数名
N803 参数名
N806 变量
2,PEP:8 expected 2 blank lines ,found 1
在声明函数的那一行的上方必须有两行的空行,否则便出现这个情况