{ "info": { "author": "Greenbone Networks GmbH", "author_email": "info@greenbone.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Version Control :: Git" ], "description": "![Greenbone Logo](https://www.greenbone.net/wp-content/uploads/gb_logo_resilience_horizontal.png)\n\n# autohooks-plugin-black\n\n[![PyPI release](https://img.shields.io/pypi/v/autohooks-plugin-black.svg)](https://pypi.org/project/autohooks-plugin-black/)\n\nAn [autohooks](https://github.com/greenbone/autohooks) plugin for python code\nformatting via [black](https://github.com/ambv/black).\n\n## Installation\n\n### Install using pip\n\nYou can install the latest stable release of autohooks-plugin-black from the\nPython Package Index using [pip](https://pip.pypa.io/):\n\n pip install autohooks-plugin-black\n\nNote the `pip` refers to the Python 3 package manager. In a environment where\nPython 2 is also available the correct command may be `pip3`.\n\n### Install using pipenv\n\nIt is highly encouraged to use [pipenv](https://github.com/pypa/pipenv) for\nmaintaining your project's dependencies. Normally autohooks-plugin-black is\ninstalled as a development dependency.\n\n pipenv install --dev autohooks-plugin-black\n\n## Usage\n\nTo activate the black autohooks plugin please add the following setting to your\n*pyproject.toml* file.\n\n```toml\n[tool.autohooks]\npre-commit = [\"autohooks.plugins.black\"]\n```\n\nBy default, autohooks plugin black checks all files with a *.py* ending. If only\nfiles in a sub-directory or files with different endings should be formatted,\njust add the following setting:\n\n```toml\n[tool.autohooks]\npre-commit = [\"autohooks.plugins.black\"]\n\n[tool.autohooks.plugins.black]\ninclude = ['foo/*.py', '*.foo']\n```\n\n## Maintainer\n\nThis project is maintained by [Greenbone Networks GmbH](https://www.greenbone.net/).\n\n## Contributing\n\nYour contributions are highly appreciated. Please\n[create a pull request](https://github.com/greenbone/autohooks-plugin-black/pulls)\non GitHub. Bigger changes need to be discussed with the development team via the\n[issues section at GitHub](https://github.com/greenbone/autohooks-plugin-black/issues)\nfirst.\n\n## License\n\nCopyright (C) 2019 [Greenbone Networks GmbH](https://www.greenbone.net/)\n\nLicensed under the [GNU General Public License v3.0 or later](LICENSE).\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/greenbone/autohooks-plugin-black", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "autohooks-plugin-black", "package_url": "https://pypi.org/project/autohooks-plugin-black/", "platform": "", "project_url": "https://pypi.org/project/autohooks-plugin-black/", "project_urls": { "Homepage": "https://github.com/greenbone/autohooks-plugin-black" }, "release_url": "https://pypi.org/project/autohooks-plugin-black/1.1.0/", "requires_dist": [ "autohooks (>=1.1)", "black" ], "requires_python": ">=3.5", "summary": "Autohooks plugin for code formatting via black", "version": "1.1.0" }, "last_serial": 4997648, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "9c281d0da469a3e792df1783747bf10e", "sha256": "e6970dac37b1957d5d5d1bc2cf77c609347c5f9405f5c59d921138f26cd3c4bf" }, "downloads": -1, "filename": "autohooks_plugin_black-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9c281d0da469a3e792df1783747bf10e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 16219, "upload_time": "2019-02-20T12:52:18", "url": "https://files.pythonhosted.org/packages/f9/4d/2523112c6ea82d1eed8c979d084ce67efe2d8403835daab5892fa719fbc5/autohooks_plugin_black-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9c06618fa06a43bb0127bd7d5af1f302", "sha256": "5bd5479ac8b2dbfa43888389dddaa04a34693cb7a74392ff8b4879ef13811091" }, "downloads": -1, "filename": "autohooks-plugin-black-1.0.0.tar.gz", "has_sig": false, "md5_digest": "9c06618fa06a43bb0127bd7d5af1f302", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 3152, "upload_time": "2019-02-20T12:52:20", "url": "https://files.pythonhosted.org/packages/ad/f6/bb417cebbcfa6f190e6954855bc9b318837388144a302f65acb16dbff034/autohooks-plugin-black-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "44e5bd9b03fa34c0e8221a6f932759a7", "sha256": "741aa4f06de987ec717171eba35d97f622d6bc749299ae82ed665237301e1973" }, "downloads": -1, "filename": "autohooks_plugin_black-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "44e5bd9b03fa34c0e8221a6f932759a7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 16568, "upload_time": "2019-03-28T13:13:17", "url": "https://files.pythonhosted.org/packages/42/98/ec7f3dec5889aa866cf1db62d0929610a3e0337440635a17876fb61114fc/autohooks_plugin_black-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "259ff4d57139d319fba74d2b19166ecb", "sha256": "ae6154a287458bceca814c4f877457d25b59b596c1b8d96f76a7d9017cbf95a7" }, "downloads": -1, "filename": "autohooks-plugin-black-1.1.0.tar.gz", "has_sig": false, "md5_digest": "259ff4d57139d319fba74d2b19166ecb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 20597, "upload_time": "2019-03-28T13:13:19", "url": "https://files.pythonhosted.org/packages/4b/57/29981ad08f3d471b918a6fa6b81b5d97447453ec7d1844aa88ed6c898bfb/autohooks-plugin-black-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "44e5bd9b03fa34c0e8221a6f932759a7", "sha256": "741aa4f06de987ec717171eba35d97f622d6bc749299ae82ed665237301e1973" }, "downloads": -1, "filename": "autohooks_plugin_black-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "44e5bd9b03fa34c0e8221a6f932759a7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 16568, "upload_time": "2019-03-28T13:13:17", "url": "https://files.pythonhosted.org/packages/42/98/ec7f3dec5889aa866cf1db62d0929610a3e0337440635a17876fb61114fc/autohooks_plugin_black-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "259ff4d57139d319fba74d2b19166ecb", "sha256": "ae6154a287458bceca814c4f877457d25b59b596c1b8d96f76a7d9017cbf95a7" }, "downloads": -1, "filename": "autohooks-plugin-black-1.1.0.tar.gz", "has_sig": false, "md5_digest": "259ff4d57139d319fba74d2b19166ecb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 20597, "upload_time": "2019-03-28T13:13:19", "url": "https://files.pythonhosted.org/packages/4b/57/29981ad08f3d471b918a6fa6b81b5d97447453ec7d1844aa88ed6c898bfb/autohooks-plugin-black-1.1.0.tar.gz" } ] }