Skip to content

Commit

Permalink
Fix various typos (#9582)
Browse files Browse the repository at this point in the history
- it's -> its
- its -> it's
- reseambles -> resembles
  • Loading branch information
UlrichEckhardt authored Apr 29, 2024
1 parent 524f256 commit 5e07f96
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion doc/whatsnew/1/1.5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ Release date: 2015-11-29

* Remove the rest of interface checks: interface-is-not-class,
missing-interface-method, unresolved-interface. The reason is that
its better to start recommending ABCs instead of the old Zope era
it's better to start recommending ABCs instead of the old Zope era
of interfaces. One side effect of this change is that ignore-iface-methods
becomes a noop, it's deprecated and it will be removed at some time.

Expand Down
2 changes: 1 addition & 1 deletion doc/whatsnew/2/2.11/full.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ What's New in Pylint 2.11.0?
----------------------------
Release date: 2021-09-16

* The python3 porting mode checker and it's ``py3k`` option were removed. You can still find it in older pylint
* The python3 porting mode checker and its ``py3k`` option were removed. You can still find it in older pylint
versions.

* ``raising-bad-type`` is now properly emitted when raising a string
Expand Down
2 changes: 1 addition & 1 deletion doc/whatsnew/2/2.11/summary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ New checkers
Removed checkers
================

* The python3 porting mode checker and it's ``py3k`` option were removed. You can still find it in older pylint
* The python3 porting mode checker and its ``py3k`` option were removed. You can still find it in older pylint
versions.

Extensions
Expand Down
2 changes: 1 addition & 1 deletion pylint/config/arguments_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def _add_parser_option(
metavar=argument.metavar,
choices=argument.choices,
)
# We add the old name as hidden option to make it's default value gets loaded when
# We add the old name as hidden option to make its default value get loaded when
# argparse initializes all options from the checker
assert argument.kwargs["old_names"]
for old_name in argument.kwargs["old_names"]:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __init__(self):
pass

class DefinedOutsideInit:
"""use_attr is seen as the method defining attr because its in
"""use_attr is seen as the method defining attr because it's in
first position
"""
def __init__(self):
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/e/.#emacs_file_lock.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# The name is invalid, but we should not analyse this file
# Because its filename reseambles an Emacs file lock ignored by default
# Because its filename resembles an Emacs file lock ignored by default
# https://www.gnu.org/software/emacs/manual/html_node/elisp/File-Locks.html
# See https://github.com/pylint-dev/pylint/issues/367

0 comments on commit 5e07f96

Please sign in to comment.