Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Found via `codespell -H` and `typos --hidden --format brief`
  • Loading branch information
kianmeng committed Nov 11, 2024
1 parent d576182 commit b104524
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions podman/api/typing_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

# After PEP 560, internal typing API was substantially reworked.
# This is especially important for Protocol class which uses internal APIs
# quite extensivelly.
# quite extensively.
PEP_560 = sys.version_info[:3] >= (3, 7, 0)

if PEP_560:
Expand Down Expand Up @@ -2097,7 +2097,7 @@ def _is_dunder(name):
return len(name) > 4 and name.startswith('__') and name.endswith('__')

# Prior to Python 3.7 types did not have `copy_with`. A lot of the equality
# checks, argument expansion etc. are done on the _subs_tre. As a result we
# checks, argument expansion etc. are done on the _subs_tree. As a result we
# can't provide a get_type_hints function that strips out annotations.

class AnnotatedMeta(typing.GenericMeta):
Expand Down
2 changes: 1 addition & 1 deletion podman/api/uds.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def __init__(
Examples:
requests.Session.mount(
"http://", UDSAdapater("http+unix:///run/user/1000/podman/podman.sock"))
"http://", UDSAdapter("http+unix:///run/user/1000/podman/podman.sock"))
"""
self.poolmanager: Optional[UDSPoolManager] = None

Expand Down
2 changes: 1 addition & 1 deletion podman/domain/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def exec_run(
``response_code``:
The exit code of the provided command. ``None`` if ``stream``.
``output``:
If ``stream``, then a generator yeilding response chunks.
If ``stream``, then a generator yielding response chunks.
If ``demux``, then a tuple of (``stdout``, ``stderr``).
Else the response content.
Expand Down
2 changes: 1 addition & 1 deletion podman/tests/integration/test_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def test_image_crud(self):
"""Test Image CRUD.
Notes:
Written to maximize re-use of pulled image.
Written to maximize reuse of pulled image.
"""

with self.subTest("Pull Alpine Image"):
Expand Down

0 comments on commit b104524

Please sign in to comment.