mirror of
https://github.com/frappe/gunicorn.git
synced 2026-07-02 18:51:31 +08:00
fix: Add noqa comments for E402 in geventlet worker
This commit is contained in:
parent
086dadfa1e
commit
9aaa75c0bf
@ -20,16 +20,16 @@ else:
|
|||||||
# each worker process after fork, in the patch() method.
|
# each worker process after fork, in the patch() method.
|
||||||
eventlet.monkey_patch()
|
eventlet.monkey_patch()
|
||||||
|
|
||||||
from functools import partial
|
from functools import partial # noqa: E402
|
||||||
import sys
|
import sys # noqa: E402
|
||||||
|
|
||||||
from eventlet import hubs, greenthread
|
from eventlet import hubs, greenthread # noqa: E402
|
||||||
from eventlet.greenio import GreenSocket
|
from eventlet.greenio import GreenSocket # noqa: E402
|
||||||
import eventlet.wsgi
|
import eventlet.wsgi # noqa: E402
|
||||||
import greenlet
|
import greenlet # noqa: E402
|
||||||
|
|
||||||
from gunicorn.workers.base_async import AsyncWorker
|
from gunicorn.workers.base_async import AsyncWorker # noqa: E402
|
||||||
from gunicorn.sock import ssl_wrap_socket
|
from gunicorn.sock import ssl_wrap_socket # noqa: E402
|
||||||
|
|
||||||
# ALREADY_HANDLED is removed in 0.30.3+ now it's `WSGI_LOCAL.already_handled: bool`
|
# ALREADY_HANDLED is removed in 0.30.3+ now it's `WSGI_LOCAL.already_handled: bool`
|
||||||
# https://github.com/eventlet/eventlet/pull/544
|
# https://github.com/eventlet/eventlet/pull/544
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user