Link Search Menu Expand Document


Check Python code against PEP 8 style conventions. More information:

  • Check the style of a single file:

pycodestyle {{}}

  • Check the style of multiple files:

pycodestyle {{ ...}}

  • Show only the first occurrence of an error:

pycodestyle --first {{}}

  • Show the source code for each error:

pycodestyle --show-source {{}}

  • Show the specific PEP 8 text for each error:

pycodestyle --show-pep8 {{}}