This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Git Patrol

The goal is to create a plug and play git pre-commit hook that completes a bunch of basic checks, but also lints each file with its language’s respective linter.

Deeply inspired by Bob Gilmore’s githooks

Installation:

  1. pip install gitpatrol
  2. cd {location/of/your/repo}
  3. gitpatrol init
  4. Add a gitpatrol.toml file to root folder (samples are here)
  5. Make some changes to some files in your repo that do not respect the checkers in your gitpatrol.toml file
  6. Stage your changes for commit
  7. git commit
  8. You should get output that looks like this:
  9. The value in quotations marks at the beginning of each line is the offending character sequence, which your checker found
  10. The values in parentheses reference the checkers defined in the gitpatrol.toml file, which have found a problem with your commit
  11. Your commit will be blocked until the checkers are happy (or you disable them)

Development

I would love it if you used the Issue Tracker to notify me of PRs you’d like to contribute to this project. There are a couple things I’d like to implement next. You can see them in the TODO.md

To run tests

  1. Clone the project from its GitHub repo
  2. pip install -r dev-requirements
  3. nosetests
  4. nosetests --with-coverage --cover-html --cover-branches (runs with coverage)
Release History

Release History

0.0.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
gitpatrol-0.0.2.tar.gz (5.8 kB) Copy SHA256 Checksum SHA256 Source Jun 23, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting