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