Pycharm格式报错: Remove redundant parentheses

这里用的是Win10系统,Pycharm是2018.1.4的新版本,如果不是这种情况的同学可以再看看其他文章
Pycharm格式报错: Remove redundant parentheses
Pycharm格式报错: Remove redundant parentheses

解决办法:
一、暂时性解决
Pycharm格式报错: Remove redundant parentheses
结果:
Pycharm格式报错: Remove redundant parentheses

二、修改设置解决
File→Settings→Editor→Inspections
Pycharm格式报错: Remove redundant parentheses
1. 取消Python下PEP 8的勾选
Pycharm格式报错: Remove redundant parentheses
2. 取消Spelling的勾选
Pycharm格式报错: Remove redundant parentheses
点击保存之后生效

类似报错参考链接:
http://www.simonzhang.net/?p=1072