mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-20 23:51:39 +00:00
Fix typos (#978)
This commit is contained in:
parent
c70b281c62
commit
c500705bca
|
@ -298,7 +298,7 @@ Release date: 2015-11-29
|
|||
of its test. Closes issue #698.
|
||||
|
||||
* Added a new refactoring warning, 'too-many-boolean-expressions',
|
||||
used when a if statement contains too many boolean expressions,
|
||||
used when an if statement contains too many boolean expressions,
|
||||
which makes the code less maintainable and harder to understand.
|
||||
Closes issue #677.
|
||||
|
||||
|
@ -607,7 +607,7 @@ Release date: 2015-11-29
|
|||
This can generate a RuntimeError in Python, if there are no active exceptions
|
||||
to be reraised. While it works in Python 2 due to the fact that the exception
|
||||
leaks outside of the except block, it's nevertheless a behaviour that
|
||||
an user shouldn't depend upon, since it's not obvious to the reader of the code
|
||||
a user shouldn't depend upon, since it's not obvious to the reader of the code
|
||||
what exception will be raised and it will not be compatible with Python 3 anyhow.
|
||||
Closes issue #633.
|
||||
|
||||
|
@ -794,7 +794,7 @@ Release date: 2015-01-16
|
|||
raising tuples in the form 'raise (ZeroDivisionError, None)'.
|
||||
|
||||
* Fix a false positive with invalid-slots-objects, where the slot entry
|
||||
was an unicode string on Python 2. Closes issue #421.
|
||||
was a unicode string on Python 2. Closes issue #421.
|
||||
|
||||
* Add a new warning, 'redundant-unittest-assert', emitted when using
|
||||
unittest's methods assertTrue and assertFalse with constant value
|
||||
|
|
|
@ -175,7 +175,7 @@ module. Pylint 0.26.1 and up have renamed that directive to
|
|||
"#pylint: skip-file" (but the first version will be kept for backward
|
||||
compatibility).
|
||||
|
||||
In order to ease finding which modules are ignored a Information-level message
|
||||
In order to ease finding which modules are ignored an Information-level message
|
||||
`file-ignored` is emitted. With recent versions of Pylint, if you use the old
|
||||
syntax, an additional `deprecated-disable-all` message is emitted.
|
||||
|
||||
|
@ -256,7 +256,7 @@ traverses an AST representation of the code.
|
|||
|
||||
Pylint can crash with this error if you have a string in your analyzed
|
||||
program, created by joining a lot of strings with the addition operator.
|
||||
Due to how Pylint works, visiting nodes on a AST tree and due to how
|
||||
Due to how Pylint works, visiting nodes on an AST tree and due to how
|
||||
the BinOp node is represented (the node which represents the string '1+1'
|
||||
for instance), the same visit method will be called over and over again, leading
|
||||
to a maximum recursion error. You can alleviate this problem by passing
|
||||
|
|
|
@ -45,7 +45,7 @@ My command line prompt for these examples is:
|
|||
Getting Started
|
||||
---------------
|
||||
|
||||
Running Pylint with no arguments will invoke the help dialogue and give you a
|
||||
Running Pylint with no arguments will invoke the help dialogue and give you an
|
||||
idea of the arguments available to you. Do that now, i.e.:
|
||||
|
||||
.. sourcecode:: bash
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
.SH DESCRIPTION
|
||||
.B epylint
|
||||
is a Emacs and Flymake compatible Pylint. It runs Pylint from outside the
|
||||
is an Emacs and Flymake compatible Pylint. It runs Pylint from outside the
|
||||
current package to avoid import error messages. See
|
||||
.B pylint
|
||||
\'s manpage for information about all available options.
|
||||
|
|
Loading…
Reference in New Issue
Block a user