Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #464

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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