Skip to content

Commit ba9630e

Browse files
committed
fix the linter
1 parent 5b75938 commit ba9630e

File tree

6 files changed

+10
-3
lines changed

6 files changed

+10
-3
lines changed

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Sphinx configuration for python_awair."""
2+
23
# pylint: skip-file
34
import os
45
import sys

python_awair/client.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@
1717
class AwairClient:
1818
"""Python asyncio client for the Awair GraphQL API."""
1919

20-
def __init__(self, authenticator: AwairAuth, session: ClientSession,) -> None:
20+
def __init__(
21+
self,
22+
authenticator: AwairAuth,
23+
session: ClientSession,
24+
) -> None:
2125
"""Initialize an AwairClient with sensible defaults."""
2226
self.__authenticator = authenticator
2327
self.__session = session

python_awair/const.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Mostly query constants."""
2+
23
BASE_URL = "https://developer-apis.awair.is/v1"
34
USER_URL = f"{BASE_URL}/users/self"
45
DEVICE_URL = f"{USER_URL}/devices"

python_awair/indices.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Indices dict with attribute access."""
2+
23
from python_awair.attrdict import AttrDict
34

45

python_awair/user.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""An Awair user."""
22

3-
43
from datetime import date
54
from typing import Any, Dict, List, Optional
65

tests/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ def mock_awair_user(client: AwairClient) -> AwairUser:
2222

2323

2424
def mock_awair_device(
25-
client: AwairClient, device: Optional[Dict[str, Any]] = None,
25+
client: AwairClient,
26+
device: Optional[Dict[str, Any]] = None,
2627
) -> AwairDevice:
2728
"""Return a mock awair device."""
2829
if not device:

0 commit comments

Comments
 (0)