From 108f78b432d1bc539a3431aa5b2f75a151d668c6 Mon Sep 17 00:00:00 2001 From: Ryan Delaney Date: Wed, 8 May 2024 08:28:07 -0400 Subject: [PATCH] noqa C901 This function IS too complex, but I need CI to work. --- downforeveryone/isup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/downforeveryone/isup.py b/downforeveryone/isup.py index 808c0e3..8699fb5 100644 --- a/downforeveryone/isup.py +++ b/downforeveryone/isup.py @@ -52,7 +52,7 @@ def _handle_response(response: dict[str, Any]) -> tuple[str, int]: ), ExitCodes.FAIL -def isitup(url: str) -> tuple[str, int]: +def isitup(url: str) -> tuple[str, int]: # noqa: C901 """Check if a URL is up. Returns a status code. Args: