Skip to content

Commit d62d691

Browse files
Update to latest version of isort
1 parent 10c950b commit d62d691

29 files changed

+53
-29
lines changed

hug/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
from __future__ import absolute_import
3333

3434
from falcon import *
35+
3536
from hug import (authentication, directives, exceptions, format, input_format, introspect,
3637
middleware, output_format, redirect, route, test, transform, types, use, validate)
3738
from hug._version import current

hug/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@
3131
from wsgiref.simple_server import make_server
3232

3333
import falcon
34+
from falcon import HTTP_METHODS
35+
3436
import hug.defaults
3537
import hug.output_format
36-
from falcon import HTTP_METHODS
3738
from hug import introspect
3839
from hug._version import current
3940

40-
4141
INTRO = """
4242
/#######################################################################\\
4343
`.----``..-------..``.----.

hug/decorators.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@
2929
import functools
3030
from collections import namedtuple
3131

32+
from falcon import HTTP_METHODS
33+
3234
import hug.api
3335
import hug.defaults
3436
import hug.output_format
35-
from falcon import HTTP_METHODS
3637
from hug import introspect
3738
from hug.format import underscore
3839

hug/development_runner.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,12 @@
2929
from multiprocessing import Process
3030
from os.path import exists
3131

32+
import _thread as thread
3233
from hug._version import current
3334
from hug.api import API
3435
from hug.route import cli
3536
from hug.types import boolean, number
3637

37-
import _thread as thread
38-
3938
INIT_MODULES = list(sys.modules.keys())
4039

4140

hug/input_format.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
from urllib.parse import parse_qs as urlencoded_converter
2727

2828
from falcon.util.uri import parse_query_string
29+
2930
from hug.format import content_type, underscore
3031
from hug.json_module import json as json_converter
3132

hug/interface.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,12 @@
2929
from functools import lru_cache, partial, wraps
3030

3131
import falcon
32+
from falcon import HTTP_BAD_REQUEST
33+
3234
import hug._empty as empty
3335
import hug.api
3436
import hug.output_format
3537
import hug.types as types
36-
from falcon import HTTP_BAD_REQUEST
3738
from hug import introspect
3839
from hug.exceptions import InvalidTypeData
3940
from hug.format import parse_content_type

hug/output_format.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535

3636
import falcon
3737
from falcon import HTTP_NOT_FOUND
38+
3839
from hug import introspect
3940
from hug.format import camelcase, content_type
4041
from hug.json_module import json as json_converter

hug/route.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@
2424
from functools import partial
2525
from types import FunctionType, MethodType
2626

27-
import hug.api
2827
from falcon import HTTP_METHODS
28+
29+
import hug.api
2930
from hug.routing import CLIRouter as cli
3031
from hug.routing import ExceptionRouter as exception
3132
from hug.routing import LocalRouter as local

hug/routing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@
2929
from urllib.parse import urljoin
3030

3131
import falcon
32+
from falcon import HTTP_METHODS
33+
3234
import hug.api
3335
import hug.interface
3436
import hug.output_format
35-
from falcon import HTTP_METHODS
3637
from hug import introspect
3738
from hug.exceptions import InvalidTypeData
3839

hug/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
from urllib.parse import urlencode
3030

3131
from falcon import HTTP_METHODS
32-
from falcon.testing import StartResponseMock, create_environ, DEFAULT_HOST
32+
from falcon.testing import DEFAULT_HOST, StartResponseMock, create_environ
3333

3434
from hug import output_format
3535
from hug.api import API

0 commit comments

Comments
 (0)