Isort + flake8 fix

This commit is contained in:
László Károlyi 2018-05-10 17:34:13 +02:00
parent 4adcf9080e
commit 9806d21280
No known key found for this signature in database
GPG Key ID: 2DCAF25E55735BFE
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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