Skip to content

Commit 22b62ba

Browse files
committed
Update hooks.py
1 parent 05ed953 commit 22b62ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/posit/connect/hooks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from .errors import ClientError
77

88

9-
def handle_errors(response: Response, *args, **kwargs) -> Response:
9+
def handle_errors(response: Response, *args, **kwargs) -> Response: # noqa: ARG001
1010
if response.status_code >= 400:
1111
try:
1212
data = response.json()
@@ -22,7 +22,7 @@ def handle_errors(response: Response, *args, **kwargs) -> Response:
2222
return response
2323

2424

25-
def check_for_deprecation_header(response: Response, *args, **kwargs) -> Response:
25+
def check_for_deprecation_header(response: Response, *args, **kwargs) -> Response: # noqa: ARG001
2626
"""
2727
Check for deprecation warnings from the server.
2828

0 commit comments

Comments
 (0)