{ "info": { "author": "Kamil Kujawinski", "author_email": "kamil@kujawinski.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Utilities" ], "description": "========\nOverview\n========\n\n\n\nPre push hook running linters.\n\n* Free software: BSD license\n\nInstallation\n============\n\n::\n\n pip install git-pre-push-hook\n\nInstall hook to current Git-repository:\n\n::\n\n install-git-pre-push-hook\n\nDefault pre-push hook:\n\n::\n\n python -c \"import pre_push_hook; sys.exit(pre_push_hook.hook.main())\"\n\nConfiguration\n=============\n\nYou can pass configuration parameters to script by setting proper environement variables in ``./.git/hooks/pre-push``\n\n1. Custom Pyflakes configuration file\n\n::\n\n LINTER_FLAKE_CONFIG=\"./setup.cfg\" python ...\n\n2. Warnings only for changed lines \n\n::\n\n CHANGED_LINES_ONLY=1 python ...\n\nTroubleshooting\n===============\n\n1. In OSX not prompt question is displayed and after pressing any key EOFError is raised:\n\nMaybe you are not using system Python. E.g. MacPorts have problem with using stdin (\nsee: http://superuser.com/questions/965133/python2-7-from-macports-stdin-issue).\nTry using system Python (``System/Library/Frameworks/Python.framework/Versions/Current/bin/python``)\n\n\nDevelopment\n===========\n\nTo run the all tests run::\n\n tox\n\n\nChangelog\n=========\n\n0.1.0 (2016-01-06)\n-----------------------------------------\n\n* First release on PyPI.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kkujawinski/git-pre-push-hook", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "git-pre-push-hook", "package_url": "https://pypi.org/project/git-pre-push-hook/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/git-pre-push-hook/", "project_urls": { "Homepage": "https://github.com/kkujawinski/git-pre-push-hook" }, "release_url": "https://pypi.org/project/git-pre-push-hook/0.2.6/", "requires_dist": [ "flake8" ], "requires_python": "", "summary": "Pre push hook running linters.", "version": "0.2.6" }, "last_serial": 1954290, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "5901ab8748ca7783a235310f6d1da3b7", "sha256": "22c7fe9f919dea952e77cb380bfd2073119095ccdbac2f86ef8169b0945c4833" }, "downloads": -1, "filename": "git_pre_push_hook-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5901ab8748ca7783a235310f6d1da3b7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9181, "upload_time": "2016-01-07T14:36:25", "url": "https://files.pythonhosted.org/packages/26/e4/55117a18f4519121615d0d88628913605e5e407d9e7abe89be97ad70523d/git_pre_push_hook-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2e1ba718ba1da47ecb09f509c4a00ad2", "sha256": "22fe20140b12b5744787019a0eaf3b92e441c7a802cda437ccb1a8b0bf0032d1" }, "downloads": -1, "filename": "git-pre-push-hook-0.2.1.tar.gz", "has_sig": false, "md5_digest": "2e1ba718ba1da47ecb09f509c4a00ad2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14413, "upload_time": "2016-01-07T14:36:30", "url": "https://files.pythonhosted.org/packages/aa/53/e522dc6d9430a9e83f3bf86f969f1de06e7dd46763e140831f0f1fec6376/git-pre-push-hook-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "52a5de8c2ca26cf15737e6bc2e634f88", "sha256": "b128b8e4f69f05cd71593ba363325d835c6f4533a9b909654ddcfc215cddd9f3" }, "downloads": -1, "filename": "git_pre_push_hook-0.2.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "52a5de8c2ca26cf15737e6bc2e634f88", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9204, "upload_time": "2016-01-07T15:21:44", "url": "https://files.pythonhosted.org/packages/65/ab/39602a359b8d4c612847727fe9869d4b731a22bbf6b6bf7b10500d1186b4/git_pre_push_hook-0.2.2-py2.py3-none-any.whl" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "1868eb59457b70f9402c4528431ee82f", "sha256": "7542597695fcca75515116540be9c35036d68f1fc5a9a540c845cbfd7b8cc0b0" }, "downloads": -1, "filename": "git_pre_push_hook-0.2.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1868eb59457b70f9402c4528431ee82f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9396, "upload_time": "2016-01-08T14:50:25", "url": "https://files.pythonhosted.org/packages/6d/8a/2df274b4899bcc96d1fd4e18019fddfa296161ab89fd4787b8e636c4505a/git_pre_push_hook-0.2.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e134e101a0dc6b3c5b99201c7e42ec4c", "sha256": "ff6fcc0c7d4e0704302647152fb92c8a29cbd2147947f19d6c79a4e217acb1a5" }, "downloads": -1, "filename": "git-pre-push-hook-0.2.3.tar.gz", "has_sig": false, "md5_digest": "e134e101a0dc6b3c5b99201c7e42ec4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14657, "upload_time": "2016-01-08T14:50:49", "url": "https://files.pythonhosted.org/packages/ef/8f/22a6ebd85452272c511d16b5fb363cdb583f7131297434129c833e63f4b1/git-pre-push-hook-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "afd714b97e0c73ac4dfde91a6cd03262", "sha256": "8d8d129f39bf610e081ecb3b5715cc16fdbff53cf826ff14d8d343faa323cc06" }, "downloads": -1, "filename": "git_pre_push_hook-0.2.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "afd714b97e0c73ac4dfde91a6cd03262", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9409, "upload_time": "2016-01-13T15:52:54", "url": "https://files.pythonhosted.org/packages/ea/e4/6566207955068005b9d1afca49979a2b3960048eebbe519e63ea83a7eb84/git_pre_push_hook-0.2.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e66eb613aeaa0188777c607cec4a50be", "sha256": "2b14ca4b3640553f415e500c6951af9443bd830838e32b1764fb5477dd08696a" }, "downloads": -1, "filename": "git-pre-push-hook-0.2.4.tar.gz", "has_sig": false, "md5_digest": "e66eb613aeaa0188777c607cec4a50be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14674, "upload_time": "2016-01-13T15:53:00", "url": "https://files.pythonhosted.org/packages/73/10/2d0fd32d405114d926ae9c4b8610cc94f7f3b7977a4288128c6ecee1fefc/git-pre-push-hook-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "de9a047fe1d021aaa6430a4981d67b52", "sha256": "f1768cf60dbabe8c7f4af349b11844201f4ea45cdf50ca8047d2fbb8b1b019a6" }, "downloads": -1, "filename": "git_pre_push_hook-0.2.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "de9a047fe1d021aaa6430a4981d67b52", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9413, "upload_time": "2016-01-15T16:23:44", "url": "https://files.pythonhosted.org/packages/5e/97/98bbfc50207c64e862497575a407c6d5798ef21d869efb1a814df2c8db8a/git_pre_push_hook-0.2.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6e4f714e47daf744490ff8e5cfb89d76", "sha256": "b7bbc866c960b93ad59c202f6ec05d7f79ca0cfa1bfd91d238daa65a21d12c95" }, "downloads": -1, "filename": "git-pre-push-hook-0.2.5.tar.gz", "has_sig": false, "md5_digest": "6e4f714e47daf744490ff8e5cfb89d76", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14690, "upload_time": "2016-01-15T16:23:49", "url": "https://files.pythonhosted.org/packages/fb/16/ce4736868bbaf7de5ece75192496e6d30f06c70b0f0a864e6347fafb261b/git-pre-push-hook-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "324c832fa60c74de03d7ed4913ed5c85", "sha256": "4723e35aca3b2258d37b9d604f96ebdc465a0c1acf71398fb425a3f415d43a5a" }, "downloads": -1, "filename": "git_pre_push_hook-0.2.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "324c832fa60c74de03d7ed4913ed5c85", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9507, "upload_time": "2016-02-13T10:06:29", "url": "https://files.pythonhosted.org/packages/80/fa/7ffb66a1330d3c3a5d382a79b14514f93e642dedb7b0f1c0206578d7b96a/git_pre_push_hook-0.2.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4c3c9778f3f8716a8260e52e73902f62", "sha256": "b724c3fe9ebee824383313462f73d8b246b750e3963bfdf1b1caecd0243f6979" }, "downloads": -1, "filename": "git-pre-push-hook-0.2.6.tar.gz", "has_sig": false, "md5_digest": "4c3c9778f3f8716a8260e52e73902f62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14773, "upload_time": "2016-02-13T10:06:34", "url": "https://files.pythonhosted.org/packages/97/01/8c52c0a0e36ec21eeb8b7055cdb0a50282054df0ca6793ab9d3d46924ce2/git-pre-push-hook-0.2.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "324c832fa60c74de03d7ed4913ed5c85", "sha256": "4723e35aca3b2258d37b9d604f96ebdc465a0c1acf71398fb425a3f415d43a5a" }, "downloads": -1, "filename": "git_pre_push_hook-0.2.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "324c832fa60c74de03d7ed4913ed5c85", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9507, "upload_time": "2016-02-13T10:06:29", "url": "https://files.pythonhosted.org/packages/80/fa/7ffb66a1330d3c3a5d382a79b14514f93e642dedb7b0f1c0206578d7b96a/git_pre_push_hook-0.2.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4c3c9778f3f8716a8260e52e73902f62", "sha256": "b724c3fe9ebee824383313462f73d8b246b750e3963bfdf1b1caecd0243f6979" }, "downloads": -1, "filename": "git-pre-push-hook-0.2.6.tar.gz", "has_sig": false, "md5_digest": "4c3c9778f3f8716a8260e52e73902f62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14773, "upload_time": "2016-02-13T10:06:34", "url": "https://files.pythonhosted.org/packages/97/01/8c52c0a0e36ec21eeb8b7055cdb0a50282054df0ca6793ab9d3d46924ce2/git-pre-push-hook-0.2.6.tar.gz" } ] }