Skip to content

Commit 44a0587

Browse files
authored
build: Bump ty to v0.0.16 and fix type issues (#1730)
1 parent 8c0dae6 commit 44a0587

File tree

2 files changed

+22
-21
lines changed

2 files changed

+22
-21
lines changed

tests/unit/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,10 @@ def redirect_server_url(redirect_http_server: TestServer) -> URL:
208208
)
209209
async def http_client(request: pytest.FixtureRequest) -> AsyncGenerator[HttpClient, None]:
210210
class_client: type[HttpClient]
211+
kwargs: dict[str, Any]
211212
if request.param == 'curl':
212213
class_client = CurlImpersonateHttpClient
213-
kwargs: dict[str, Any] = {'http_version': CurlHttpVersion.V1_1}
214+
kwargs = {'http_version': CurlHttpVersion.V1_1}
214215
elif request.param == 'impit':
215216
class_client = ImpitHttpClient
216217
kwargs = {'http3': False}

uv.lock

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)