Skip to content

Commit c02103e

Browse files
Merge branch 'pypa:main' into main
2 parents ebebce1 + dd24396 commit c02103e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ repos:
2222
- id: black
2323

2424
- repo: https://github.com/astral-sh/ruff-pre-commit
25-
rev: v0.11.8
25+
rev: v0.11.12
2626
hooks:
27-
- id: ruff
28-
args: [--fix, --exit-non-zero-on-fix]
27+
- id: ruff-check
28+
args: [--fix]
2929

3030
- repo: https://github.com/pre-commit/mirrors-mypy
31-
rev: v1.15.0
31+
rev: v1.16.0
3232
hooks:
3333
- id: mypy
3434
exclude: tests/data

src/pip/_internal/network/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def __init__(
230230
) -> None:
231231
self.prompting = prompting
232232
self.index_urls = index_urls
233-
self.keyring_provider = keyring_provider # type: ignore[assignment]
233+
self.keyring_provider = keyring_provider
234234
self.passwords: dict[str, AuthInfo] = {}
235235
# When the user is prompted to enter credentials and keyring is
236236
# available, we will offer to save them. If the user accepts,

tests/lib/venv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def sitecustomize(self) -> str | None:
226226
return self._sitecustomize
227227

228228
@sitecustomize.setter
229-
def sitecustomize(self, value: str) -> None:
229+
def sitecustomize(self, value: str | None) -> None:
230230
self._sitecustomize = value
231231
self._customize_site()
232232

0 commit comments

Comments
 (0)