Skip to content

Commit

Permalink
add types
Browse files Browse the repository at this point in the history
  • Loading branch information
Swatinem committed Oct 24, 2024
1 parent d51d293 commit 15c31ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codecov_cli/helpers/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def send_put_request(
return request_result(put(url=url, data=data, headers=headers))


def request_result(resp):
def request_result(resp: requests.Response) -> RequestResult:
if resp.status_code >= 400:
return RequestResult(
status_code=resp.status_code,
Expand Down

0 comments on commit 15c31ec

Please sign in to comment.