Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PEP8 indentation warning in IntelliJ


I have set my PEP8 indentation to 2 in IntelliJ. However, I still get the PEP8 indentation warning as not being of length 4. I went to 'Setting -> Editor -> Python ' and turned off the indentation warning. However, the inspector still continues to give me warnings.

like image 269
Salil Surendran Avatar asked Jul 15 '16 00:07

Salil Surendran


1 Answers

Go to Settings | Editor | Inspections | PEP 8 Coding Style Violations and add E111 to the "Ignore Errors" list.

like image 150
Justine Tunney Avatar answered Oct 20 '22 04:10

Justine Tunney