mirror of
https://github.com/django/daphne.git
synced 2025-07-27 07:29:46 +03:00
Fix compatibility with isort 5
This commit is contained in:
parent
9838a173d7
commit
04ca95aaa1
|
@ -33,7 +33,7 @@ jobs:
|
|||
script:
|
||||
- pyflakes daphne tests
|
||||
- black --check daphne tests
|
||||
- isort --check-only --diff --recursive daphne tests
|
||||
- isort --check-only --diff daphne tests
|
||||
|
||||
- stage: release
|
||||
python: 3.6
|
||||
|
|
|
@ -127,8 +127,8 @@ class DaphneProcess(multiprocessing.Process):
|
|||
|
||||
from twisted.internet import reactor
|
||||
|
||||
from .server import Server
|
||||
from .endpoints import build_endpoint_description_strings
|
||||
from .server import Server
|
||||
|
||||
try:
|
||||
# Create the server class
|
||||
|
@ -266,8 +266,8 @@ class TestApplication:
|
|||
|
||||
|
||||
def _reinstall_reactor():
|
||||
import sys
|
||||
import asyncio
|
||||
import sys
|
||||
|
||||
from twisted.internet import asyncioreactor
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user