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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for githooks-0.1dev.tar.gz
Algorithm Hash digest
SHA256 cab2d22cf70121b297ec49b7f6ff94b2f4c2c2bde86fc3a3564d8b38944905eb
MD5 334f536655acc958e72411255807e603
BLAKE2b-256 5be5c462877a86f3730ec111d88527edc74de8bfcf66022aaa9ecc89c220f51d

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