Skip to content

Commit

Permalink
Fix isort errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jfinkhaeuser committed Sep 13, 2016
1 parent ecd7d3a commit 6476c03
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion examples/basicauth/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
details please check: https://github.com/zalando/connexion/issues/142
'''

import connexion
import flask

import connexion

try:
from decorator import decorator
except ImportError:
Expand Down
3 changes: 2 additions & 1 deletion examples/oauth2/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
Basic example of a resource server
'''

import connexion
import flask

import connexion


def get_secret() -> str:
# the token's uid will be set in request.user
Expand Down
3 changes: 1 addition & 2 deletions examples/sqlalchemy/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
import logging

import connexion
from connexion import NoContent

import orm
from connexion import NoContent

db_session = None

Expand Down
Binary file added tests/.test_api.py.swo
Binary file not shown.
3 changes: 2 additions & 1 deletion tests/fakeapi/hello.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/usr/bin/env python3

from connexion import NoContent, problem, request
from flask import redirect

from connexion import NoContent, problem, request


class DummyClass(object):
@classmethod
Expand Down
4 changes: 2 additions & 2 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
import tempfile

import pytest
from connexion.api import Api
from connexion.exceptions import InvalidSpecification, ResolverError
from swagger_spec_validator.common import SwaggerValidationError
from yaml import YAMLError

from connexion.api import Api
from connexion.exceptions import InvalidSpecification, ResolverError

TEST_FOLDER = pathlib.Path(__file__).parent

Expand Down
3 changes: 1 addition & 2 deletions tests/test_parameter.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from connexion.decorators.parameter import inspect_function_arguments

import decorator
from connexion.decorators.parameter import inspect_function_arguments


@decorator.decorator
Expand Down

0 comments on commit 6476c03

Please sign in to comment.