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.3dev.tar.gz (16.9 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for githooks-0.3dev.tar.gz
Algorithm Hash digest
SHA256 22ed6818df58393af54060b55463ccdcf31c2dc7c2f0929e9ed7bd9599ebd0c5
MD5 845e12ac05fc104ccdfb120bb8e3951a
BLAKE2b-256 f5f60dfb80b9143dc99421323c9f6e1d55e64bd85a3e74887ba418b2f7cc0c08

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