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