Metadata-Version: 1.1
Name: gitpatrol
Version: 0.0.2
Summary: Flexible Git Pre-Commit Hooks
Home-page: https://github.com/artburkart/gitpatrol
Author: Arthur Burkart
Author-email: artburkart@gmail.com
License: MIT
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: |Git Patrol output|
        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)
        
        .. _githooks: https://travis-ci.org/bobgilmore/githooks
        .. _here: https://github.com/artburkart/gitpatrol/tree/master/example_configs
        .. _TODO.md: ./TODO.md
        .. _GitHub repo: https://github.com/artburkart/gitpatrol
        
        .. |Git Patrol output| image:: ./gitpatrol_output.png
Keywords: git development version control gitpatrol patrol
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Version Control
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2.7
