Skip to content

Commit 736471a

Browse files
committed
Fix: pylint CI
1 parent 3d4a649 commit 736471a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

adafruit_httpserver/server.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
from .status import BAD_REQUEST_400, UNAUTHORIZED_401, FORBIDDEN_403, NOT_FOUND_404
3636

3737
if implementation.name != "circuitpython":
38-
from ssl import Purpose, CERT_NONE, SSLError
38+
from ssl import Purpose, CERT_NONE, SSLError # pylint: disable=ungrouped-imports
3939

4040

4141
NO_REQUEST = "no_request"
@@ -453,7 +453,9 @@ def _set_default_server_headers(self, response: Response) -> None:
453453
name, value
454454
)
455455

456-
def poll(self) -> str:
456+
def poll( # pylint: disable=too-many-branches,too-many-return-statements
457+
self,
458+
) -> str:
457459
"""
458460
Call this method inside your main loop to get the server to check for new incoming client
459461
requests. When a request comes in, it will be handled by the handler function.

0 commit comments

Comments
 (0)