{ "info": { "author": "Arthur Burkart", "author_email": "artburkart@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Version Control" ], "description": "Git Patrol\n==========\n\nThe goal is to create a plug and play git pre-commit hook that completes\na bunch of basic checks, but also lints each file with its language\u2019s\nrespective linter.\n\nDeeply inspired by Bob Gilmore\u2019s `githooks`_\n\nInstallation:\n=============\n\n1. ``pip install gitpatrol``\n2. ``cd {location/of/your/repo}``\n3. ``gitpatrol init``\n4. Add a ``gitpatrol.toml`` file to root folder (samples are `here`_)\n5. Make some changes to some files in your repo that do not respect the\n checkers in your ``gitpatrol.toml`` file\n6. Stage your changes for commit\n7. ``git commit``\n8. You should get output that looks like this: |Git Patrol output|\n9. The value in quotations marks at the beginning of each line is the\n offending character sequence, which your checker found\n10. The values in parentheses reference the checkers defined in the\n ``gitpatrol.toml`` file, which have found a problem with your commit\n11. Your commit will be blocked until the checkers are happy (or you\n disable them)\n\nDevelopment\n===========\n\nI would love it if you used the Issue Tracker to notify me of PRs you\u2019d\nlike to contribute to this project. There are a couple things I\u2019d like\nto implement next. You can see them in the `TODO.md`_\n\nTo run tests\n============\n\n1. Clone the project from its `GitHub repo`_\n2. ``pip install -r dev-requirements``\n3. ``nosetests``\n4. ``nosetests --with-coverage --cover-html --cover-branches`` (runs\n with coverage)\n\n.. _githooks: https://travis-ci.org/bobgilmore/githooks\n.. _here: https://github.com/artburkart/gitpatrol/tree/master/example_configs\n.. _TODO.md: ./TODO.md\n.. _GitHub repo: https://github.com/artburkart/gitpatrol\n\n.. |Git Patrol output| image:: ./gitpatrol_output.png", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/artburkart/gitpatrol", "keywords": "git development version control gitpatrol patrol", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "gitpatrol", "package_url": "https://pypi.org/project/gitpatrol/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/gitpatrol/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/artburkart/gitpatrol" }, "release_url": "https://pypi.org/project/gitpatrol/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "Flexible Git Pre-Commit Hooks", "version": "0.0.2" }, "last_serial": 1603328, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "8cb02d065b39f53852556731639fe2b1", "sha256": "a00543532b8fe99bcb394e8b4d87ad4dbbbc5bf1563e9e4af381de632d08ea94" }, "downloads": -1, "filename": "gitpatrol-0.0.1.tar.gz", "has_sig": false, "md5_digest": "8cb02d065b39f53852556731639fe2b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5625, "upload_time": "2015-06-21T22:20:24", "url": "https://files.pythonhosted.org/packages/6b/81/b98f2d98748dcb1c91996e4e3c483d8a6215deebd5925eaf074e12b27b59/gitpatrol-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "0acc0de242af7adb0b522196e32e2eb0", "sha256": "d43a06adb67b23476a0915d60f71d03c3cbade6bb2314accea99caf72ec306db" }, "downloads": -1, "filename": "gitpatrol-0.0.2.tar.gz", "has_sig": false, "md5_digest": "0acc0de242af7adb0b522196e32e2eb0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5807, "upload_time": "2015-06-23T14:26:32", "url": "https://files.pythonhosted.org/packages/c6/77/383e0800b6f93ef672751e26c876df7a331e16ba38df102b44ac9bdba149/gitpatrol-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0acc0de242af7adb0b522196e32e2eb0", "sha256": "d43a06adb67b23476a0915d60f71d03c3cbade6bb2314accea99caf72ec306db" }, "downloads": -1, "filename": "gitpatrol-0.0.2.tar.gz", "has_sig": false, "md5_digest": "0acc0de242af7adb0b522196e32e2eb0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5807, "upload_time": "2015-06-23T14:26:32", "url": "https://files.pythonhosted.org/packages/c6/77/383e0800b6f93ef672751e26c876df7a331e16ba38df102b44ac9bdba149/gitpatrol-0.0.2.tar.gz" } ] }