Search code examples
pythonpycharm

How to get PyCharm to check PEP8 code style?


I'm using PyCharm (v 2.7.2) to develop a Django app, but I can't get it to check PEP8 style violations. I have enabled "PEP8 coding style violation" in the "Inspctions" section of the settings, but PyCharm doesn't highlight the style violations. Is there a way to fix this?


Solution

  • Which version of Python are you using? If it is Python 3 (maybe specifically Windows 64 bit), there are a couple of bugs logged against that on JetBrains' site:

    http://youtrack.jetbrains.com/issue/PY-8923

    http://youtrack.jetbrains.com/issue/PY-8077