mirror of
https://github.com/django/daphne.git
synced 2024-11-28 02:33:43 +03:00
Isort + flake8 fix
This commit is contained in:
parent
4adcf9080e
commit
9806d21280
|
@ -1,8 +1,7 @@
|
|||
import argparse
|
||||
import logging
|
||||
import sys
|
||||
|
||||
from argparse import Namespace, ArgumentError
|
||||
from argparse import ArgumentError, Namespace
|
||||
from typing import Union
|
||||
|
||||
from .access import AccessLogGenerator
|
||||
|
@ -16,6 +15,7 @@ DEFAULT_HOST = "127.0.0.1"
|
|||
DEFAULT_PORT = 8000
|
||||
str_or_none = Union[None, str]
|
||||
|
||||
|
||||
class CommandLineInterface(object):
|
||||
"""
|
||||
Acts as the main CLI entry point for running the server.
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# coding: utf8
|
||||
|
||||
import logging
|
||||
from unittest import TestCase
|
||||
from argparse import ArgumentError
|
||||
from unittest import TestCase
|
||||
|
||||
from daphne.cli import CommandLineInterface
|
||||
from daphne.endpoints import build_endpoint_description_strings as build
|
||||
|
|
Loading…
Reference in New Issue
Block a user