Go to Settings->Editor->Inspections. There in Python->Code compatibility inspections, you should see that Python 3.5’s box is ticked in.
This allows you to choose for which versions of Python your code will be inspected.
Go to Settings->Editor->Inspections. There in Python->Code compatibility inspections, you should see that Python 3.5’s box is ticked in.
This allows you to choose for which versions of Python your code will be inspected.