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 ID | Check Name | Supported |
|---|---|---|
| PEP8_00 | Indentation | Yes |
| PEP8_01 | Tabs or Spaces | Yes |
| PEP8_02 | Maximum Line Length | Yes |
| PEP8_03 | Line Break Before Binary Operator | Yes |
| PEP8_04 | Blank Lines | Yes |
| PEP8_05 | Source File Encoding | Yes |
| PEP8_06 | Imports | Yes |