wiki:org/teams/MetricsTeam/MetricsPythonStyleGuide

Version 7 (modified by atagar, 3 years ago) (diff)

Just minor wording changes. Shorter is better.

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.