这里用的是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

相关文章:

  • 2021-10-28
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2022-12-23
  • 2021-11-15
猜你喜欢
  • 2021-10-20
  • 2021-04-29
  • 2022-02-04
  • 2021-12-04
  • 2021-06-26
相关资源
相似解决方案