From c500705bca09838e57537fbd2fd98087422a1163 Mon Sep 17 00:00:00 2001 From: Jakub Wilk Date: Tue, 5 Jul 2016 14:40:48 +0200 Subject: [PATCH] Fix typos (#978) --- ChangeLog | 6 +++--- doc/faq.rst | 4 ++-- doc/tutorial.rst | 2 +- man/epylint.1 | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 22c734dc5..9bdd7d382 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/doc/faq.rst b/doc/faq.rst index 3b8284ad7..8593f539d 100644 --- a/doc/faq.rst +++ b/doc/faq.rst @@ -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 diff --git a/doc/tutorial.rst b/doc/tutorial.rst index cbe4cb5bc..dd61f42aa 100644 --- a/doc/tutorial.rst +++ b/doc/tutorial.rst @@ -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 diff --git a/man/epylint.1 b/man/epylint.1 index f2022e9e3..2a2396431 100644 --- a/man/epylint.1 +++ b/man/epylint.1 @@ -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.