mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Wrap long lines
This commit is contained in:
parent
ff05e4224b
commit
dcb9dc0369
3 changed files with 6 additions and 4 deletions
|
@ -22,8 +22,7 @@ repos:
|
|||
- id: black
|
||||
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
# Ruff version.
|
||||
rev: v0.0.287
|
||||
rev: v0.0.292
|
||||
hooks:
|
||||
- id: ruff
|
||||
|
||||
|
|
|
@ -1031,7 +1031,10 @@ def html_index_with_onetime_server(
|
|||
class InDirectoryServer(http.server.ThreadingHTTPServer):
|
||||
def finish_request(self, request: Any, client_address: Any) -> None:
|
||||
self.RequestHandlerClass(
|
||||
request, client_address, self, directory=str(html_index_for_packages) # type: ignore[call-arg] # noqa: E501
|
||||
request,
|
||||
client_address,
|
||||
self,
|
||||
directory=str(html_index_for_packages), # type: ignore[call-arg]
|
||||
)
|
||||
|
||||
class Handler(OneTimeDownloadHandler):
|
||||
|
|
|
@ -625,7 +625,7 @@ _pkg1_requirement = Requirement("pkg1==1.0")
|
|||
),
|
||||
# Test with a provided hash value.
|
||||
(
|
||||
'<a href="/pkg1-1.0.tar.gz" data-core-metadata="sha256=aa113592bbe"></a>', # noqa: E501
|
||||
'<a href="/pkg1-1.0.tar.gz" data-core-metadata="sha256=aa113592bbe"></a>',
|
||||
MetadataFile({"sha256": "aa113592bbe"}),
|
||||
{},
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue