Skip to content

Commit 7aefa69

Browse files
committed
Fix some lint issues
1 parent c2a5bcb commit 7aefa69

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/vws/query.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import io
22
import json
33
from urllib.parse import urljoin
4-
from vws.exceptions import MaxNumResultsOutOfRange
54

65
import requests
76
from urllib3.filepost import encode_multipart_formdata
87

8+
from vws.exceptions import MaxNumResultsOutOfRange
9+
910
from ._authorization import authorization_header, rfc_1123_date
1011

1112

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from mock_vws import MockVWS
99
from mock_vws.database import VuforiaDatabase
1010

11-
from vws import CloudRecoService, VWS
11+
from vws import VWS, CloudRecoService
1212

1313
pytest_plugins = [ # pylint: disable=invalid-name
1414
'tests.fixtures.images',

tests/test_query.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import io
66
import uuid
7+
78
import pytest
89

910
from vws import VWS, CloudRecoService
@@ -107,8 +108,6 @@ def test_custom(
107108
)
108109
assert len(matches) == 2
109110

110-
111-
112111
def test_too_many(
113112
self,
114113
cloud_reco_client: CloudRecoService,
@@ -127,7 +126,6 @@ def test_too_many(
127126
assert str(exc.value) == expected_value
128127

129128

130-
131129
# TODO test custom base URL
132130
# TODO test bad credentials
133131
# TODO test options - max_num_results + include_target_data

0 commit comments

Comments
 (0)