Skip to content

Commit e13cc4a

Browse files
committed
Sort imports.
1 parent 00f4876 commit e13cc4a

File tree

7 files changed

+6
-11
lines changed

7 files changed

+6
-11
lines changed

scaleway/apis/api_account.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
# file except in compliance with the License. You may obtain a copy of the
1010
# License at http://opensource.org/licenses/BSD-2-Clause
1111

12-
from six.moves import zip_longest
1312
import slumber
13+
from six.moves import zip_longest
1414

1515
from . import API
1616

scaleway/apis/api_compute.py

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
from . import API
1212

13-
1413
REGIONS = {
1514
'par1': {
1615
'url': 'https://cp-par1.scaleway.com/',

scaleway/tests/apis/test_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
import mock
1414
import requests
15-
import slumber
1615

16+
import slumber
1717
from scaleway.apis import API, SlumberResource
1818

1919
from . import FakeAPITestCase

scaleway/tests/apis/test_api_account.py

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
import httpretty
1616
import slumber
17-
1817
from scaleway.apis import AccountAPI
1918
from scaleway.apis.api_account import BadToken, ExpiredToken
2019

scaleway/tests/apis/test_api_compute.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import unittest
22

3-
from scaleway.apis.api_compute import ComputeAPI, REGIONS
3+
from scaleway.apis.api_compute import REGIONS, ComputeAPI
44

55

66
class TestComputeAPI(unittest.TestCase):

scaleway/tests/apis/test_api_metadata.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@
1111
import unittest
1212
import uuid
1313

14-
from six.moves.urllib.parse import parse_qs, urlparse
15-
1614
from scaleway.apis import MetadataAPI
17-
15+
from six.moves.urllib.parse import parse_qs, urlparse
1816

1917
from . import FakeAPITestCase
2018

setup.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@
99
# file except in compliance with the License. You may obtain a copy of the
1010
# License at http://opensource.org/licenses/BSD-2-Clause
1111

12-
from contextlib import closing
1312
import os
1413
import re
1514
import sys
15+
from contextlib import closing
1616

17-
from setuptools import setup, find_packages
18-
17+
from setuptools import find_packages, setup
1918

2019
MODULE_NAME = 'scaleway'
2120

0 commit comments

Comments
 (0)