1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Drop references to lint-py2 and mypy in documentation

This commit is contained in:
Pradyun Gedam 2019-09-24 17:02:13 +05:30
parent 9eab9d1e95
commit d0df9d375f
No known key found for this signature in database
GPG key ID: DA17C4B29CB32E4B

View file

@ -76,26 +76,6 @@ To use linters locally, run:
.. code-block:: console
$ tox -e lint
$ tox -e lint-py2
The above commands run the linters on Python 3 followed by Python 2.
.. note::
Do not silence errors from flake8 with ``# noqa`` comments or otherwise.
Running mypy
------------
pip uses :pypi:`mypy` to run static type analysis, which helps catch certain
kinds of bugs. The codebase uses `PEP 484 type-comments`_ due to compatibility
requirements with Python 2.7.
To run the ``mypy`` type checker, run:
.. code-block:: console
$ tox -e mypy
Building Documentation
----------------------