Python Code Reviews

August 10, 2018 ยท View on GitHub

Python Style Guide

CSE developers follow Google's Python Style Guide.

Linters

CSE projects should check Python code with automated tools. pylint is the minimum, but we prefer to run three different tools:

Pyflakes

Pyflakes is a fast static analysis tool that identifies common errors in Python code.

pycodestyle

We follow the PEP 8 style guide.

pydocstyle

We follow the PEP 257 Docstring conventions.

Flake8

Flake8 is an option for teams who want a single wrapper for running Pyflakes and pycodestyle.

Starter Code Review Checklist