Skip to main content

Set of Git hooks for pep8, pyflakes and trac integration

Project description

githooks is a simple module that adds several python related useful hooks to use with Git hooks system.

It uses the hghooks module as backend. It implements part of the Mercurial API for hooks, and calls hghooks for the heavy lifting. It supports what hghooks module supports, currently:

  • pep8 checking of python files

  • pyflakes checking of python files

  • Checking for forgotten pdb statements in python files

  • Trac integration. This includes:
    • Making sure at least a ticket is mentioned in the changeset message

    • Updating the Trac ticket with the changeset

hghooks

hghooks is being developed by Lorenzo Gil Sanchez. It’s released under a LGPLv3, and it’s hosted on:

https://bitbucket.org/lgs/hghooks

Documentation

Soon :P

Project details


Download files

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

Source Distribution

githooks-0.2dev.tar.gz (16.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page