PyCharm decides that certain parenthesis in my Python code are 'redundant'. I want to keep them anyway. So PyCharm started annoying me with green lines under them. I don't want to give in to PyCharm's quirks.
I was able to ignore other warnings in the following way:
File > Settings > Editor > Inspections > uncheck all warnings that you don't like..
Sadly, the 'redundant parentheses' warning does not appear in that list.
How do I ignore this warning?
redundant parenthesis is a weak warning. You can just uncheck the box there.
There is redundant parenthesis
under Inspections (PyCharm 2016.1.4). Look closer.
If you still can't find it, there is a search bar on the top left corner of the settings menu. Search for redun
and the redundant parenthesis
inspection should come up.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With