diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2022-04-22 12:10:01 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2022-04-26 09:12:32 +0200 |
commit | 9c0c457f773659e3ef6474be975903b4322a7936 (patch) | |
tree | f136d23f6e82a8232a00992d7d157a8d7dd9e04a | |
parent | f58bba40289f2ba85f4cbbacdda64974924d2b0e (diff) | |
download | pylint-git-9c0c457f773659e3ef6474be975903b4322a7936.tar.gz |
[spelling] Fix all ie / eg => i.e. / e.g.
-rw-r--r-- | ChangeLog | 12 | ||||
-rw-r--r-- | examples/custom.py | 2 | ||||
-rw-r--r-- | pylint/checkers/strings.py | 2 | ||||
-rw-r--r-- | pylint/checkers/variables.py | 2 | ||||
-rw-r--r-- | tests/functional/u/unused/unused_argument.py | 2 |
5 files changed, 10 insertions, 10 deletions
@@ -3188,7 +3188,7 @@ Release date: 2019-09-24 * Allow a ``.`` as a prefix for Sphinx name resolution. -* Checkers must now keep a 1 to 1 relationship between "msgid" (ie: C1234) and "symbol" (ie : human-readable-symbol) +* Checkers must now keep a 1 to 1 relationship between "msgid" (ie: C1234) and "symbol" (i.e.: human-readable-symbol) * In checkers, an old_names can now be used for multiple new messages and pylint is now a little faster Caused by #1164. It means if you do a partial old_names for a message definition an exception will tell you that you @@ -5795,7 +5795,7 @@ Release date: 2014-04-18 * Fix access-member-before-definition false negative wrt aug assign (#164) - * Do not attempt to analyze non python file, eg .so file (#122) + * Do not attempt to analyze non python file, e.g. .so file (#122) What's New in Pylint 1.1.0? @@ -6175,7 +6175,7 @@ Release date: 2011-10-7 * #74747: crash occurs when lookup up a special attribute in class scope (patch by google) - * #76920: crash if on eg "pylint --rcfile" (patch by Torsten Marek) + * #76920: crash if on e.g. "pylint --rcfile" (patch by Torsten Marek) * #77237: warning for E0202 may be very misleading @@ -6224,7 +6224,7 @@ Release date: 2011-01-11 interesting since it's a syntax error for python >= 2.5 and we now only support this python version and above. - * don't emit W0221 or W0222 when methods as variable arguments (eg \*arg + * don't emit W0221 or W0222 when methods as variable arguments (e.g. \*arg and/or \*\*args). Patch submitted by Charles Duffy. @@ -6418,7 +6418,7 @@ What's New in Pylint 0.16.0? Release date: 2009-01-28 * change [en|dis]able-msg-cat options: only accept message categories - identified by their first letter (eg IRCWEF) without the need for comma + identified by their first letter (e.g. IRCWEF) without the need for comma as separator * add epylint.bat script to fix Windows installation @@ -6563,7 +6563,7 @@ Release date: 2007-02-28 * allow disable-all option inline (#3218, patch submitted by Daniel Drake) * --init-hook option to call arbitrary code necessary to set - environment (eg sys.path) (#3156) + environment (e.g. sys.path) (#3156) * One more Daniel's patch fixing a command line option parsing problem, this'll definitely be the DDrake release :) diff --git a/examples/custom.py b/examples/custom.py index b05954d45..83bba5143 100644 --- a/examples/custom.py +++ b/examples/custom.py @@ -15,7 +15,7 @@ class MyAstroidChecker(BaseChecker): # The name defines a custom section of the config for this checker. name = "custom" - # This class variable declares the messages (ie the warnings and errors) + # This class variable declares the messages (i.e.the warnings and errors) # that the checker can emit. msgs = { # Each message has a code, a message that the user will see, diff --git a/pylint/checkers/strings.py b/pylint/checkers/strings.py index 2ff1b52fa..2af5cbd27 100644 --- a/pylint/checkers/strings.py +++ b/pylint/checkers/strings.py @@ -834,7 +834,7 @@ class StringConstantChecker(BaseTokenChecker, BaseRawFileChecker): ): """Check for bad escapes in a non-raw string. - prefix: lowercase string of eg 'ur' string prefix markers. + prefix: lowercase string of e.g. 'ur' string prefix markers. string_body: the un-parsed body of the string, not including the quote marks. start_row: integer line number in the source. diff --git a/pylint/checkers/variables.py b/pylint/checkers/variables.py index 73b58caf0..ab39c55ac 100644 --- a/pylint/checkers/variables.py +++ b/pylint/checkers/variables.py @@ -2586,7 +2586,7 @@ class VariablesChecker(BaseChecker): len(values), ), ) - # attempt to check unpacking may be possible (ie RHS is iterable) + # attempt to check unpacking may be possible (i.e.RHS is iterable) elif not utils.is_iterable(inferred): self.add_message( "unpacking-non-sequence", diff --git a/tests/functional/u/unused/unused_argument.py b/tests/functional/u/unused/unused_argument.py index 37329f80d..8ce9bd7d4 100644 --- a/tests/functional/u/unused/unused_argument.py +++ b/tests/functional/u/unused/unused_argument.py @@ -14,7 +14,7 @@ def test_prefixed_with_unused(first, unused_second): # for Sub.inherited, only the warning for "aay" is desired. # The warnings for "aab" and "aac" are most likely false positives though, # because there could be another subclass that overrides the same method and does -# use the arguments (eg Sub2) +# use the arguments (e.g. Sub2) class Base(object): |