We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d4a649 commit 736471aCopy full SHA for 736471a
1 file changed
adafruit_httpserver/server.py
@@ -35,7 +35,7 @@
35
from .status import BAD_REQUEST_400, UNAUTHORIZED_401, FORBIDDEN_403, NOT_FOUND_404
36
37
if implementation.name != "circuitpython":
38
- from ssl import Purpose, CERT_NONE, SSLError
+ from ssl import Purpose, CERT_NONE, SSLError # pylint: disable=ungrouped-imports
39
40
41
NO_REQUEST = "no_request"
@@ -453,7 +453,9 @@ def _set_default_server_headers(self, response: Response) -> None:
453
name, value
454
)
455
456
- def poll(self) -> str:
+ def poll( # pylint: disable=too-many-branches,too-many-return-statements
457
+ self,
458
+ ) -> str:
459
"""
460
Call this method inside your main loop to get the server to check for new incoming client
461
requests. When a request comes in, it will be handled by the handler function.
0 commit comments