Skip to content

Commit d2d1fcf

Browse files
authored
Merge pull request #11612 from DimitriPapadopoulos/codespell
2 parents 17e84a9 + 1273c7a commit d2d1fcf

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

NEWS.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Bug Fixes
5555
- Ensure that the candidate ``pip`` executable exists, when checking for a new version of pip. (`#11309 <https://github.com/pypa/pip/issues/11309>`_)
5656
- Ignore distributions with invalid ``Name`` in metadata instead of crashing, when
5757
using the ``importlib.metadata`` backend. (`#11352 <https://github.com/pypa/pip/issues/11352>`_)
58-
- Raise RequirementsFileParseError when parsing malformed requirements options that can't be sucessfully parsed by shlex. (`#11491 <https://github.com/pypa/pip/issues/11491>`_)
58+
- Raise RequirementsFileParseError when parsing malformed requirements options that can't be successfully parsed by shlex. (`#11491 <https://github.com/pypa/pip/issues/11491>`_)
5959
- Fix build environment isolation on some system Pythons. (`#6264 <https://github.com/pypa/pip/issues/6264>`_)
6060

6161
Vendored Libraries

docs/html/development/release-process.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ to need extra work before being released, the release manager always has the
3131
option to back out the partial change prior to a release. The PR can then be
3232
reworked and resubmitted for the next release.
3333

34-
Vendoring updates will be picked up fron the ``main`` branch, as for any other
34+
Vendoring updates will be picked up from the ``main`` branch, as for any other
3535
update. Ideally, vendoring updates should be merged between releases, just like
3636
any other change. If there are outstanding updates to vendored packages, the
3737
release manager *may* at their discretion choose to do a vendoring update

docs/html/reference/installation-report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ package with the following properties:
7171
```
7272

7373
- `requested`: `true` if the requirement was explicitly provided by the user, either
74-
directely via a command line argument or indirectly via a requirements file. `false`
74+
directly via a command line argument or indirectly via a requirements file. `false`
7575
if the requirement was installed as a dependency of another requirement.
7676

7777
- `requested_extras`: extras requested by the user. This field is only present when the

src/pip/_internal/index/collector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ def _get_index_content(link: Link, *, session: PipSession) -> Optional["IndexCon
354354
if not url.endswith("/"):
355355
url += "/"
356356
# TODO: In the future, it would be nice if pip supported PEP 691
357-
# style respones in the file:// URLs, however there's no
357+
# style responses in the file:// URLs, however there's no
358358
# standard file extension for application/vnd.pypi.simple.v1+json
359359
# so we'll need to come up with something on our own.
360360
url = urllib.parse.urljoin(url, "index.html")

src/pip/_internal/network/auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def save_auth_info(self, url: str, username: str, password: str) -> None:
113113
return self._set_password(url, username, password)
114114

115115
def _get_password(self, service_name: str, username: str) -> Optional[str]:
116-
"""Mirror the implemenation of keyring.get_password using cli"""
116+
"""Mirror the implementation of keyring.get_password using cli"""
117117
if self.keyring is None:
118118
return None
119119

@@ -131,7 +131,7 @@ def _get_password(self, service_name: str, username: str) -> Optional[str]:
131131
return res.stdout.decode("utf-8").strip("\n")
132132

133133
def _set_password(self, service_name: str, username: str, password: str) -> None:
134-
"""Mirror the implemenation of keyring.set_password using cli"""
134+
"""Mirror the implementation of keyring.set_password using cli"""
135135
if self.keyring is None:
136136
return None
137137

src/pip/_internal/vcs/bazaar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def update(self, dest: str, url: HiddenText, rev_options: RevOptions) -> None:
7272

7373
@classmethod
7474
def get_url_rev_and_auth(cls, url: str) -> Tuple[str, Optional[str], AuthInfo]:
75-
# hotfix the URL scheme after removing bzr+ from bzr+ssh:// readd it
75+
# hotfix the URL scheme after removing bzr+ from bzr+ssh:// re-add it
7676
url, rev, user_pass = super().get_url_rev_and_auth(url)
7777
if url.startswith("ssh://"):
7878
url = "bzr+" + url

src/pip/_internal/vcs/subversion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def get_netloc_and_auth(
8787

8888
@classmethod
8989
def get_url_rev_and_auth(cls, url: str) -> Tuple[str, Optional[str], AuthInfo]:
90-
# hotfix the URL scheme after removing svn+ from svn+ssh:// readd it
90+
# hotfix the URL scheme after removing svn+ from svn+ssh:// re-add it
9191
url, rev, user_pass = super().get_url_rev_and_auth(url)
9292
if url.startswith("ssh://"):
9393
url = "svn+" + url

0 commit comments

Comments
 (0)