{ "info": { "author": "Nikita Sobolev", "author_email": "mail@sobolevn.me", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Framework :: Flake8", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Quality Assurance" ], "description": "# flake8-type-annotations\n\n[![wemake.services](https://img.shields.io/badge/-wemake.services-green.svg?label=%20&logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC%2FxhBQAAAAFzUkdCAK7OHOkAAAAbUExURQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP%2F%2F%2F5TvxDIAAAAIdFJOUwAjRA8xXANAL%2Bv0SAAAADNJREFUGNNjYCAIOJjRBdBFWMkVQeGzcHAwksJnAPPZGOGAASzPzAEHEGVsLExQwE7YswCb7AFZSF3bbAAAAABJRU5ErkJggg%3D%3D)](https://wemake.services) [![Build Status](https://travis-ci.org/sobolevn/flake8-type-annotations.svg?branch=master)](https://travis-ci.org/sobolevn/flake8-type-annotations) [![Coverage](https://coveralls.io/repos/github/sobolevn/flake8-type-annotations/badge.svg?branch=master)](https://coveralls.io/github/sobolevn/flake8-type-annotations?branch=master) [![Python Version](https://img.shields.io/pypi/pyversions/flake8-type-annotations.svg)](https://pypi.org/project/flake8-type-annotations/) [![PyPI version](https://badge.fury.io/py/flake8-type-annotations.svg)](https://pypi.org/project/flake8-type-annotations/)\n\nThis tool is used to validate type annotations syntax\nas it was [originally proposed](https://github.com/PyCQA/pycodestyle/issues/357)\nby [Guido van Rossum](https://github.com/gvanrossum).\n\n## Installation\n\n```bash\npip install flake8-type-annotations\n```\n\n## Code example\n\n```python\n# Consistency with this plugin:\ndef function(param=0, other: int = 0) -> int:\n return param + other\n\n\n# Possible errors without this plugin:\ndef function(param=0, other: int=0)->int:\n return param + other\n```\n\n## Error codes\n\n| Error code | Description |\n|:----------:|:-------------------------------------------------------------:|\n| T800 | Missing spaces between parameter annotation and default value |\n| T801 | Missing spaces in return type annotation |\n\n## License\n\nMIT.\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/sobolevn/flake8-type-annotations", "keywords": "flake8,flake8-plugin,linting,linter,wemake.services,code quality", "license": "MIT", "maintainer": "Nikita Sobolev", "maintainer_email": "mail@sobolevn.me", "name": "flake8-type-annotations", "package_url": "https://pypi.org/project/flake8-type-annotations/", "platform": "", "project_url": "https://pypi.org/project/flake8-type-annotations/", "project_urls": { "Homepage": "https://github.com/sobolevn/flake8-type-annotations" }, "release_url": "https://pypi.org/project/flake8-type-annotations/0.1.0/", "requires_dist": [ "flake8 (>=3.5,<4.0)" ], "requires_python": ">=3.6,<4.0", "summary": "Flake8 plugin to enforce consistent type annotation styles", "version": "0.1.0" }, "last_serial": 4322334, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "5bac51582898b90faa4bc45349923fdf", "sha256": "de64de5efef3277d7b6012e8618c37d35b21465fb16292e46e6eec5b87e47a8c" }, "downloads": -1, "filename": "flake8_type_annotations-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5bac51582898b90faa4bc45349923fdf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 6881, "upload_time": "2018-09-29T09:26:43", "url": "https://files.pythonhosted.org/packages/04/e4/0ccc501ccadb718d8f71e70ccc9912a3266619008384b8773de787fa7c31/flake8_type_annotations-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f3002c943784f7ae02b95eb9e2263589", "sha256": "88775455792ad7bbd63a71bc94e8a077deb5608eacb5add7e5a7a648c7636426" }, "downloads": -1, "filename": "flake8-type-annotations-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f3002c943784f7ae02b95eb9e2263589", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 3973, "upload_time": "2018-09-29T09:26:41", "url": "https://files.pythonhosted.org/packages/06/e2/6c006b0be107a05bd18c628fcb375a0385324945e3b83e134d1fc6b11bdb/flake8-type-annotations-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5bac51582898b90faa4bc45349923fdf", "sha256": "de64de5efef3277d7b6012e8618c37d35b21465fb16292e46e6eec5b87e47a8c" }, "downloads": -1, "filename": "flake8_type_annotations-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5bac51582898b90faa4bc45349923fdf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 6881, "upload_time": "2018-09-29T09:26:43", "url": "https://files.pythonhosted.org/packages/04/e4/0ccc501ccadb718d8f71e70ccc9912a3266619008384b8773de787fa7c31/flake8_type_annotations-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f3002c943784f7ae02b95eb9e2263589", "sha256": "88775455792ad7bbd63a71bc94e8a077deb5608eacb5add7e5a7a648c7636426" }, "downloads": -1, "filename": "flake8-type-annotations-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f3002c943784f7ae02b95eb9e2263589", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 3973, "upload_time": "2018-09-29T09:26:41", "url": "https://files.pythonhosted.org/packages/06/e2/6c006b0be107a05bd18c628fcb375a0385324945e3b83e134d1fc6b11bdb/flake8-type-annotations-0.1.0.tar.gz" } ] }