File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
src/pip/_internal/network Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ repos:
22
22
- id : black
23
23
24
24
- repo : https://github.com/astral-sh/ruff-pre-commit
25
- rev : v0.11.8
25
+ rev : v0.11.12
26
26
hooks :
27
- - id : ruff
28
- args : [--fix, --exit-non-zero-on-fix ]
27
+ - id : ruff-check
28
+ args : [--fix]
29
29
30
30
- repo : https://github.com/pre-commit/mirrors-mypy
31
- rev : v1.15 .0
31
+ rev : v1.16 .0
32
32
hooks :
33
33
- id : mypy
34
34
exclude : tests/data
Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ def __init__(
230
230
) -> None :
231
231
self .prompting = prompting
232
232
self .index_urls = index_urls
233
- self .keyring_provider = keyring_provider # type: ignore[assignment]
233
+ self .keyring_provider = keyring_provider
234
234
self .passwords : dict [str , AuthInfo ] = {}
235
235
# When the user is prompted to enter credentials and keyring is
236
236
# available, we will offer to save them. If the user accepts,
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ def sitecustomize(self) -> str | None:
226
226
return self ._sitecustomize
227
227
228
228
@sitecustomize .setter
229
- def sitecustomize (self , value : str ) -> None :
229
+ def sitecustomize (self , value : str | None ) -> None :
230
230
self ._sitecustomize = value
231
231
self ._customize_site ()
232
232
You can’t perform that action at this time.
0 commit comments