Simple code checking metatool
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 setup.py install
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.
See codequality --help.
codequality foo.py bar.js codequality --ignore "*junk/*" codequality --scm git codequality --scm git --rev HEAD~3
All output follows a simple parseable format:
where the column number is optional (some external tools don’t provide it).
:setlocal makeprg=codequality\ % :make
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:
#!/bin/sh 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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size codequality-0.2-dev.tar.gz (7.8 kB)||File type Source||Python version None||Upload date||Hashes View|