Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchristie committed Oct 22, 2019
1 parent 53d64dd commit 1165c61
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion uvicorn/__main__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import uvicorn


if __name__ == "__main__":
uvicorn.main()
2 changes: 1 addition & 1 deletion uvicorn/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def bind_socket(self):
sock.set_inheritable(True)

if platform.system() == "Windows" and (self.workers > 1 or self.should_reload):
# We need to explicitly share the socket on Windows.
#  We need to explicitly share the socket on Windows.
sock = socket.fromshare(sock.share(os.getpid()))

message = "Uvicorn running on %s://%s:%d (Press CTRL+C to quit)"
Expand Down
1 change: 1 addition & 0 deletions uvicorn/workers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import asyncio

from gunicorn.workers.base import Worker

from uvicorn.config import Config
from uvicorn.main import Server

Expand Down

0 comments on commit 1165c61

Please sign in to comment.