From 45d16ac83e68e13069a0dfb833985203c06f39f1 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Mon, 25 Feb 2019 22:10:00 +0530 Subject: [PATCH] Remove note about flake8 noqa comments --- docs/html/development/getting-started.rst | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/html/development/getting-started.rst b/docs/html/development/getting-started.rst index a5971d883e1..3cf23e8be1d 100644 --- a/docs/html/development/getting-started.rst +++ b/docs/html/development/getting-started.rst @@ -83,9 +83,6 @@ The above commands run the linters on Python 2 followed by Python 3. .. note:: Do not silence errors from flake8 with ``# noqa`` comments or otherwise. - The only exception to this is silencing unused-import errors for imports - related to static type checking as currently `flake8 does not understand - PEP 484 type-comments`_. Running mypy ------------ @@ -115,6 +112,5 @@ To build it locally, run: The built documentation can be found in the ``docs/build`` folder. .. _`open an issue`: https://github.com/pypa/pip/issues/new?title=Trouble+with+pip+development+environment -.. _`flake8 does not understand PEP 484 type-comments`: https://gitlab.com/pycqa/flake8/issues/118 .. _`PEP 484 type-comments`: https://www.python.org/dev/peps/pep-0484/#suggested-syntax-for-python-2-7-and-straddling-code .. _`rich CLI`: https://docs.pytest.org/en/latest/usage.html#specifying-tests-selecting-tests