Skip to content

Commit

Permalink
umu_proton: fix mypy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Jan 5, 2025
1 parent bc7f83e commit cda115b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion umu/umu_proton.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ def _fetch_patch(session_pools: SessionPools) -> bytes:
if resp.status != HTTPStatus.OK:
return b""

return resp.data
# Typing. False negative in mypy and urllib3's (v2) API guarantees the type
return resp.data # type: ignore


def _fetch_releases(
Expand Down

0 comments on commit cda115b

Please sign in to comment.