Skip to content

Commit 89df3df

Browse files
committed
Styling fixes
Signed-off-by: Saif Ul Islam <[email protected]>
1 parent 1f7f8d9 commit 89df3df

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

src/mapillary/interface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -808,9 +808,9 @@ def feature_from_key(key: str, fields: list = []) -> str:
808808
Fields::
809809
810810
1. first_seen_at - timestamp, timestamp of the least recent
811-
detection contributing to this feature
811+
detection contributing to this feature
812812
2. last_seen_at - timestamp, timestamp of the most recent
813-
detection contributing to this feature
813+
detection contributing to this feature
814814
3. object_value - string, what kind of map feature it is
815815
4. object_type - string, either a traffic_sign or point
816816
5. geometry - GeoJSON Point geometry

src/mapillary/utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
- License: MIT LICENSE
1212
"""
1313

14+
from . import auth # noqa: F401
1415
from . import extract # noqa: F401
1516
from . import filter # noqa: F401
1617
from . import format # noqa: F401
1718
from . import time # noqa: F401
1819
from . import verify # noqa: F401
19-
from . import auth # noqa: F401

src/mapillary/utils/auth.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# -*- coding: utf-8 -*-
33

44
"""
5-
mapillary.models.auth
5+
mapillary.utils.auth
66
~~~~~~~~~~~~~~~~~~~~~
77
88
This module contains the authorization logic for the client class of Mapillary, responsible
@@ -24,7 +24,7 @@
2424
def set_token(token: str) -> dict:
2525
"""
2626
Allows the user to set access token to be able to interact with API v4
27-
27+
2828
:param token: Access token
2929
:return: Dictionary containing the access token
3030
"""
@@ -35,7 +35,6 @@ def set_token(token: str) -> dict:
3535
except AuthError:
3636
raise AuthError("Token is invalid")
3737
return {"token": "SUCCESS"}
38-
3938

4039

4140
def auth():

src/mapillary/utils/filter.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ def features_in_bounding_box(data: list, bbox: dict) -> list:
209209
:param bbox: Bounding box coordinates
210210
211211
Example::
212-
213212
>>> {
214213
... 'west': 'BOUNDARY_FROM_WEST',
215214
... 'south': 'BOUNDARY_FROM_SOUTH',

0 commit comments

Comments
 (0)