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:
parent
9eab9d1e95
commit
d0df9d375f
|
@ -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
|
||||
----------------------
|
||||
|
|
Loading…
Reference in a new issue