Metadata-Version: 2.1
Name: flake8-no-types
Version: 1.0.0
Summary: A flake8 plugin to ban type hints.
Home-page: https://github.com/adamchainz/flake8-no-types
Author: Adam Johnson
Author-email: me@adamj.eu
License: ISCL
Project-URL: Changelog, https://github.com/adamchainz/flake8-no-types/blob/master/HISTORY.rst
Keywords: flake8
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Flake8
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: ISC License (ISCL)
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.5
Description-Content-Type: text/x-rst
Requires-Dist: flake8 (!=3.2.0,<4,>=3.0)
Requires-Dist: importlib-metadata ; python_version < "3.8"

===============
flake8-no-types
===============

.. image:: https://img.shields.io/pypi/v/flake8-no-types.svg
        :target: https://pypi.python.org/pypi/flake8-no-types

.. image:: https://img.shields.io/travis/adamchainz/flake8-no-types.svg
        :target: https://travis-ci.org/adamchainz/flake8-no-types

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/python/black

A `flake8 <https://flake8.readthedocs.io/en/latest/index.html>`_ plugin to ban
type hints.

This can be useful in code bases where you aren't running type checking (yet?)
but developers or their IDE's keep adding type hints that can end up being
incorrect.

Installation
------------

Install from ``pip`` with:

.. code-block:: sh

     pip install flake8-no-types

Python 3.5-3.8 supported.

When installed it will automatically be run as part of ``flake8``; you can
check it is being picked up with:

.. code-block:: sh

    $ flake8 --version
    3.7.9 (flake8-no-types: 1.0.0, mccabe: 0.6.1, pycodestyle: 2.5.0, pyflakes: 2.1.1) CPython 3.8.0 on Darwin

Rules
-----

NT001: No type hints.
~~~~~~~~~~~~~~~~~~~~~

Complains about all forms of type hints:

* Function annotations: `def foo() -> int:`
* Variable hints: `foo: int = 1`

=======
History
=======

1.0.0 (2019-11-19)
------------------

* First release on PyPI.
* ``NT001`` rule that complains about type annotations.


