wiki:org/teams/MetricsTeam/MetricsPythonStyleGuide

Table of Contents

    Python Style Guide

    The Metrics Team uses PEP8 for its Python projects unless there's a reason to do otherwise.

    Tools

    Suggested tools are...

    • pyflakes - Static analysis checker. pylint can be useful too but pyflakes is more easily integrated into your test suite.
    • pycodestyle - Previously called pep8, this is a highly configurable style checker that by default validates compliance with the PEP8 specification.

    Stem provides testing functions to make integrating with both of these easy.

    Last modified 2 years ago Last modified on Jul 14, 2016, 4:25:56 PM