twistedchecker

A Twisted coding standard compliance checker.


Keywords
twisted, checker, compliance, pep8, python
License
MIT
Install
pip install twistedchecker==0.7.4

Documentation

Twisted Coding Standard Checker

TwistedChecker checks Python code for compliance with the Twisted coding standard <https://twistedmatrix.com/documents/current/core/development/policy/coding-standard.html>.

This was originally a project of Google Summer of Code 2012.

TwistedChecker's dependencies are recorded in setup.py.

Development

https://travis-ci.org/twisted/twistedchecker.svg?branch=master

Get a development environment:

virtualenv build
. build/bin/activate
pip install -Ue '.[dev]'

To test twistedchecker, run the following in the source directory:

trial twistedchecker

Check pyflakes status ignoring functional tests (#68 some day we might use twistedchecker on itself):

python check_pyflakes.py twistedchecker/

Releasing a new version is done via Travis-CI. First commit the version update in a master and wait for test to pass. Create a tag on local branch and then push it:

git tag 1.2.3
git push --tags