Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Simple code checking metatool

Project Description

Simple code checking metatool.

codequality is glue around multiple external code checking tools. Its goal is easy integration with editing environments and version control (scm) tools.


sudo python install

Then, run:

codequality --list-checkers

to see what checkers are available and installed on your machine. For now, codequality only knows about a few checkers, and it will use any that are available.

Usage details

See codequality --help.

Some examples:

codequality bar.js
codequality --ignore "*junk/*"
codequality --scm git
codequality --scm git --rev HEAD~3


All output follows a simple parseable format:

filename:linenumber:columnnumber: message

where the column number is optional (some external tools don’t provide it).

vim integration

:setlocal makeprg=codequality\ %

see vim’s :help make for details about how this works.

git post-commit integration

Put the following in your .git/hooks/post-commit file:

codequality --scm git -r HEAD

and make sure to chmod +x the post-commit hook file. You will then have a codequality report after each local commit.

Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
codequality-0.2-dev.tar.gz (7.8 kB) Copy SHA256 Checksum SHA256 Source Nov 26, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting