I found that even after restoring defaults "PEPĀ 8 coding style violations" were set to "No highlighting". Setting them to "Warning" (or any other visible highlighting) fixed the problem for me.
Editor>Inspections and then search for "PEP 8", and set the severity to "Warning".