{ "info": { "author": "Alejandro Blanco Escudero", "author_email": "alejandro.b.e@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License (GPL)", "Natural Language :: English", "Programming Language :: JavaScript", "Programming Language :: Python", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Version Control" ], "description": "========\ngithooks\n========\n\ngithooks is a simple module that adds several python related useful hooks to use\nwith Git hooks system.\n\n**It's still alpha software!**\n\nIt uses the hghooks module as backend. It implements part of the Mercurial API\nfor hooks, and calls hghooks for the heavy lifting. It supports what hghooks\nmodule supports, currently:\n\n* pep8 checking of python files\n* pyflakes checking of python files\n* Checking for forgotten pdb statements in python files\n* JSLint checking of JavaScript and HTML files\n* Trac integration. This includes:\n\n - Making sure at least a ticket is mentioned in the changeset message\n - Updating the Trac ticket with the changeset\n\nPyPi package:\n\nhttp://pypi.python.org/pypi/githooks\n\nhghooks\n=======\n\nhghooks is being developed by Lorenzo Gil Sanchez. It's released under a LGPLv3,\nand it's hosted on:\n\nhttps://bitbucket.org/lgs/hghooks\n\nExtra dependencies\n==================\n\nIt uses pyjslint, who requires `nodejs `_. You can find\nmore details on this in http://pypi.python.org/pypi/pyjslint/\n\nDocumentation\n=============\n\nHow to use\n----------\n\nSoon :P\n\nConfiguration\n-------------\n\nGithooks has serveral options. It uses **git config** as configuration\nbackend.\n\nAll githooks options has \"githooks\" as family, so a git configuration file looks\nlike similar to this:\n\n::\n\n [user]\n name = John Doe\n email = johndoe@example.com\n [githooks \"pep8\"]\n ignore = E501\n [githooks \"trac\"]\n hook-active = False\n\nHow to read:\n\n::\n\n $ git config --global githooks.pep8.ignore\n E501\n $\n\nHow to set:\n\n::\n\n $ git config --global githooks.pep8.ignore E501\n\nYou can find more details about git configuration on the git help:\n\n::\n\n $ git config --help\n\nIn git configuration there are several contexts. Githooks uses two of them.\n\nGlobal\n~~~~~~\n\nGlobal context is user level. This configuration is common for all the\nrepositories of the user.\n\n* **pep8.ignore**\n\n - pep8 error list to ignore\n - defaults to None\n\nLocal\n~~~~~\n\nLocal context is repository level. This configuration only affects one\nrepository.\n\n* **trac.hook-active**\n\n - activate trac integration hook\n - defaults to False\n\n* **trac.repo-name**\n* **trac.changeset-style**\n* **trac.msg-template**\n\n.. note::\n\n More and better documentation soon :P", "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/ablanco/githooks/", "keywords": "git hook pep8 pyflakes jslint trac", "license": "GPL 3", "maintainer": null, "maintainer_email": null, "name": "githooks", "package_url": "https://pypi.org/project/githooks/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/githooks/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ablanco/githooks/" }, "release_url": "https://pypi.org/project/githooks/0.5/", "requires_dist": null, "requires_python": null, "summary": "Set of Git hooks for pep8, pyflakes, jslint and trac integration", "version": "0.5" }, "last_serial": 792460, "releases": { "0.1dev": [ { "comment_text": "", "digests": { "md5": "334f536655acc958e72411255807e603", "sha256": "cab2d22cf70121b297ec49b7f6ff94b2f4c2c2bde86fc3a3564d8b38944905eb" }, "downloads": -1, "filename": "githooks-0.1dev.tar.gz", "has_sig": false, "md5_digest": "334f536655acc958e72411255807e603", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4132, "upload_time": "2011-07-03T12:57:04", "url": "https://files.pythonhosted.org/packages/5b/e5/c462877a86f3730ec111d88527edc74de8bfcf66022aaa9ecc89c220f51d/githooks-0.1dev.tar.gz" } ], "0.2dev": [ { "comment_text": "", "digests": { "md5": "8b34c5df98140d93a42fdb4ce0c3e2f7", "sha256": "1009edebacdd4beb5f4d1de17414ac6daa199845fd840b575a366f3349d97903" }, "downloads": -1, "filename": "githooks-0.2dev.tar.gz", "has_sig": false, "md5_digest": "8b34c5df98140d93a42fdb4ce0c3e2f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16865, "upload_time": "2011-07-03T13:54:18", "url": "https://files.pythonhosted.org/packages/78/23/9acb3473a54ef0de301a66ed6368489ebfaee2c18bffde50ce8c87cdae2b/githooks-0.2dev.tar.gz" } ], "0.3dev": [ { "comment_text": "", "digests": { "md5": "845e12ac05fc104ccdfb120bb8e3951a", "sha256": "22ed6818df58393af54060b55463ccdcf31c2dc7c2f0929e9ed7bd9599ebd0c5" }, "downloads": -1, "filename": "githooks-0.3dev.tar.gz", "has_sig": false, "md5_digest": "845e12ac05fc104ccdfb120bb8e3951a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16876, "upload_time": "2011-07-03T13:57:23", "url": "https://files.pythonhosted.org/packages/f5/f6/0dfb80b9143dc99421323c9f6e1d55e64bd85a3e74887ba418b2f7cc0c08/githooks-0.3dev.tar.gz" } ], "0.4dev": [ { "comment_text": "", "digests": { "md5": "c598ac94a94bb44449a3b4b6a16f49ca", "sha256": "337b5d1183883f1f6c96734c791d88377c48ea63d879359146a56c694457e543" }, "downloads": -1, "filename": "githooks-0.4dev.tar.gz", "has_sig": false, "md5_digest": "c598ac94a94bb44449a3b4b6a16f49ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18252, "upload_time": "2011-10-15T12:45:51", "url": "https://files.pythonhosted.org/packages/26/56/1369256c4f575fc5a95cc60cecaea6b892f6452e51091481c6f0fbffea9b/githooks-0.4dev.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "8bb48b687ec4711315d8698f83704fa0", "sha256": "84cdaa04c9656f2ccd2f63f4c32a6c7c76cce0897d372837f8894d226ff1ef94" }, "downloads": -1, "filename": "githooks-0.5.tar.gz", "has_sig": false, "md5_digest": "8bb48b687ec4711315d8698f83704fa0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19134, "upload_time": "2011-12-06T13:29:41", "url": "https://files.pythonhosted.org/packages/27/cd/acc424eb76a951ba01195e510222b3baa8c3c959c01270d8d10dd9623f9a/githooks-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8bb48b687ec4711315d8698f83704fa0", "sha256": "84cdaa04c9656f2ccd2f63f4c32a6c7c76cce0897d372837f8894d226ff1ef94" }, "downloads": -1, "filename": "githooks-0.5.tar.gz", "has_sig": false, "md5_digest": "8bb48b687ec4711315d8698f83704fa0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19134, "upload_time": "2011-12-06T13:29:41", "url": "https://files.pythonhosted.org/packages/27/cd/acc424eb76a951ba01195e510222b3baa8c3c959c01270d8d10dd9623f9a/githooks-0.5.tar.gz" } ] }