File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 35
35
from .status import BAD_REQUEST_400 , UNAUTHORIZED_401 , FORBIDDEN_403 , NOT_FOUND_404
36
36
37
37
if implementation .name != "circuitpython" :
38
- from ssl import Purpose , CERT_NONE , SSLError
38
+ from ssl import Purpose , CERT_NONE , SSLError # pylint: disable=ungrouped-imports
39
39
40
40
41
41
NO_REQUEST = "no_request"
@@ -453,7 +453,9 @@ def _set_default_server_headers(self, response: Response) -> None:
453
453
name , value
454
454
)
455
455
456
- def poll (self ) -> str :
456
+ def poll ( # pylint: disable=too-many-branches,too-many-return-statements
457
+ self ,
458
+ ) -> str :
457
459
"""
458
460
Call this method inside your main loop to get the server to check for new incoming client
459
461
requests. When a request comes in, it will be handled by the handler function.
You can’t perform that action at this time.
0 commit comments