File tree 2 files changed +5
-14
lines changed
2 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -571,8 +571,7 @@ whether an instance or a class implements a particular ABC. The
571
571
:class: `~collections.abc.MutableMapping `.
572
572
573
573
For Python, many of the advantages of interface specifications can be obtained
574
- by an appropriate test discipline for components. There is also a tool,
575
- PyChecker, which can be used to find problems due to subclassing.
574
+ by an appropriate test discipline for components.
576
575
577
576
A good test suite for a module can both provide a regression test and serve as a
578
577
module interface specification and a set of examples. Many Python modules can
Original file line number Diff line number Diff line change @@ -51,22 +51,14 @@ They include:
51
51
* PyCharm (https://www.jetbrains.com/pycharm/)
52
52
53
53
54
- Is there a tool to help find bugs or perform static analysis?
54
+ Are there tools to help find bugs or perform static analysis?
55
55
-------------------------------------------------------------
56
56
57
57
Yes.
58
58
59
- PyChecker is a static analysis tool that finds bugs in Python source code and
60
- warns about code complexity and style. You can get PyChecker from
61
- http://pychecker.sourceforge.net/.
62
-
63
- `Pylint <https://www.pylint.org/ >`_ is another tool that checks
64
- if a module satisfies a coding standard, and also makes it possible to write
65
- plug-ins to add a custom feature. In addition to the bug checking that
66
- PyChecker performs, Pylint offers some additional features such as checking line
67
- length, whether variable names are well-formed according to your coding
68
- standard, whether declared interfaces are fully implemented, and more.
69
- https://docs.pylint.org/ provides a full list of Pylint's features.
59
+ `Pylint <https://www.pylint.org/ >`_ and
60
+ `Pyflakes <https://github.com/PyCQA/pyflakes >`_ do basic checking that will
61
+ help you catch bugs sooner.
70
62
71
63
Static type checkers such as `Mypy <http://mypy-lang.org/ >`_,
72
64
`Pyre <https://pyre-check.org/ >`_, and
You can’t perform that action at this time.
0 commit comments