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 details)

Uploaded Source

File details

Details for the file githooks-0.2dev.tar.gz.

File metadata

  • Download URL: githooks-0.2dev.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for githooks-0.2dev.tar.gz
Algorithm Hash digest
SHA256 1009edebacdd4beb5f4d1de17414ac6daa199845fd840b575a366f3349d97903
MD5 8b34c5df98140d93a42fdb4ce0c3e2f7
BLAKE2b-256 78239acb3473a54ef0de301a66ed6368489ebfaee2c18bffde50ce8c87cdae2b

See more details on using hashes here.

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