Skip to content

Commit dfaac0a

Browse files
authored
Merge pull request #12312 from cclauss/patch-1
Wrap long lines
2 parents 8e5df32 + dcb9dc0 commit dfaac0a

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
@@ -943,7 +943,10 @@ def html_index_with_onetime_server(
943943
class InDirectoryServer(http.server.ThreadingHTTPServer):
944944
def finish_request(self, request: Any, client_address: Any) -> None:
945945
self.RequestHandlerClass(
946-
request, client_address, self, directory=str(html_index_for_packages) # type: ignore[call-arg] # noqa: E501
946+
request,
947+
client_address,
948+
self,
949+
directory=str(html_index_for_packages), # type: ignore[call-arg]
947950
)
948951

949952
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)