pep8 documentation
media.readthedocs.org › pdf › pep8You can also make pep8.py show the source code for each error, and even the relevant text from PEP 8: $ pep8 --show-source --show-pep8 testsuite/E40.py testsuite/E40.py:2:10: E401 multiple imports on one line import os, sys ^ Imports should usually be on separate lines. Okay: import os import sys E401: import sys, os
PEP 8: The Style Guide for Python Code
https://pep8.orgPEP 8 — the Style Guide for Python Code Introduction This document gives coding conventions for the Python code comprising the standard library in the main Python distribution. Please see the companion informational PEP describing style guidelines for the C code in the C implementation of Python 1.
PEP 8: The Style Guide for Python Code
pep8.orgThis stylized presentation of the well-established PEP 8 was created by Kenneth Reitz (for humans). Introduction This document gives coding conventions for the Python code comprising the standard library in the main Python distribution.