scitools.com

← CodeCheck catalog

PEP 8 is a coding standard you can enforce automatically with CodeCheck, Understand's static-analysis engine — in the GUI, from the command line, or in CI.

PEP 8

This document gives coding conventions for the Python code comprising the standard library in the main Python distribution.

Checks

Check IDCheck NameSupported
PEP8_00IndentationYes
PEP8_01Tabs or SpacesYes
PEP8_02Maximum Line LengthYes
PEP8_03Line Break Before Binary OperatorYes
PEP8_04Blank LinesYes
PEP8_05Source File EncodingYes
PEP8_06ImportsYes