Skip to content

Commit dcb9dc0

Browse files
committed
Wrap long lines
1 parent ff05e42 commit dcb9dc0

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ repos:
2222
- id: black
2323

2424
- repo: https://github.com/astral-sh/ruff-pre-commit
25-
# Ruff version.
26-
rev: v0.0.287
25+
rev: v0.0.292
2726
hooks:
2827
- id: ruff
2928

tests/conftest.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,10 @@ def html_index_with_onetime_server(
10311031
class InDirectoryServer(http.server.ThreadingHTTPServer):
10321032
def finish_request(self, request: Any, client_address: Any) -> None:
10331033
self.RequestHandlerClass(
1034-
request, client_address, self, directory=str(html_index_for_packages) # type: ignore[call-arg] # noqa: E501
1034+
request,
1035+
client_address,
1036+
self,
1037+
directory=str(html_index_for_packages), # type: ignore[call-arg]
10351038
)
10361039

10371040
class Handler(OneTimeDownloadHandler):

tests/unit/test_collector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ def test_parse_links__yanked_reason(anchor_html: str, expected: Optional[str]) -
625625
),
626626
# Test with a provided hash value.
627627
(
628-
'<a href="/pkg1-1.0.tar.gz" data-core-metadata="sha256=aa113592bbe"></a>', # noqa: E501
628+
'<a href="/pkg1-1.0.tar.gz" data-core-metadata="sha256=aa113592bbe"></a>',
629629
MetadataFile({"sha256": "aa113592bbe"}),
630630
{},
631631
),

0 commit comments

Comments
 (0)