mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
[doc] Remove references to PyChecker. (GH-22054)
(cherry picked from commit dea82b6731
)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
This commit is contained in:
parent
e2e033807f
commit
bafaf07275
2 changed files with 5 additions and 14 deletions
|
@ -573,8 +573,7 @@ whether an instance or a class implements a particular ABC. The
|
||||||
:class:`~collections.abc.MutableMapping`.
|
:class:`~collections.abc.MutableMapping`.
|
||||||
|
|
||||||
For Python, many of the advantages of interface specifications can be obtained
|
For Python, many of the advantages of interface specifications can be obtained
|
||||||
by an appropriate test discipline for components. There is also a tool,
|
by an appropriate test discipline for components.
|
||||||
PyChecker, which can be used to find problems due to subclassing.
|
|
||||||
|
|
||||||
A good test suite for a module can both provide a regression test and serve as a
|
A good test suite for a module can both provide a regression test and serve as a
|
||||||
module interface specification and a set of examples. Many Python modules can
|
module interface specification and a set of examples. Many Python modules can
|
||||||
|
|
|
@ -51,22 +51,14 @@ They include:
|
||||||
* PyCharm (https://www.jetbrains.com/pycharm/)
|
* PyCharm (https://www.jetbrains.com/pycharm/)
|
||||||
|
|
||||||
|
|
||||||
Is there a tool to help find bugs or perform static analysis?
|
Are there tools to help find bugs or perform static analysis?
|
||||||
-------------------------------------------------------------
|
-------------------------------------------------------------
|
||||||
|
|
||||||
Yes.
|
Yes.
|
||||||
|
|
||||||
PyChecker is a static analysis tool that finds bugs in Python source code and
|
`Pylint <https://www.pylint.org/>`_ and
|
||||||
warns about code complexity and style. You can get PyChecker from
|
`Pyflakes <https://github.com/PyCQA/pyflakes>`_ do basic checking that will
|
||||||
http://pychecker.sourceforge.net/.
|
help you catch bugs sooner.
|
||||||
|
|
||||||
`Pylint <https://www.pylint.org/>`_ is another tool that checks
|
|
||||||
if a module satisfies a coding standard, and also makes it possible to write
|
|
||||||
plug-ins to add a custom feature. In addition to the bug checking that
|
|
||||||
PyChecker performs, Pylint offers some additional features such as checking line
|
|
||||||
length, whether variable names are well-formed according to your coding
|
|
||||||
standard, whether declared interfaces are fully implemented, and more.
|
|
||||||
https://docs.pylint.org/ provides a full list of Pylint's features.
|
|
||||||
|
|
||||||
Static type checkers such as `Mypy <http://mypy-lang.org/>`_,
|
Static type checkers such as `Mypy <http://mypy-lang.org/>`_,
|
||||||
`Pyre <https://pyre-check.org/>`_, and
|
`Pyre <https://pyre-check.org/>`_, and
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue