Skip to content

Commit 347b07e

Browse files
committed
updating lint errors
1 parent 55bd63c commit 347b07e

4 files changed

Lines changed: 6 additions & 7 deletions

File tree

linode_api4/groups/monitor.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
DashboardsByID,
1111
)
1212

13+
__all__ = [
14+
"MonitorGroup",
15+
]
1316
class MonitorGroup(Group):
1417
"""
1518
Encapsulates Monitor-related methods of the :any:`LinodeClient`. This

linode_api4/objects/monitor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Property,
44
)
55

6+
__all__ = ['Dashboard', 'DashboardsByID', 'DashboardByService', 'MonitorServiceSupported', 'ServiceDetails', 'MetricDefinition', 'CreateToken']
67
class Dashboard(Base):
78
"""
89
List dashboards: https://techdocs.akamai.com/linode-api/get-dashboards-all

test/integration/models/monitor/test_monitor.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import json
2-
31
from linode_api4.objects import (
42
MonitorServiceSupported,
53
Dashboard,
@@ -9,9 +7,8 @@
97
MetricDefinition,
108
CreateToken,
119
)
12-
from linode_api4 import LinodeClient,MySQLDatabase
13-
import re
14-
import time
10+
from linode_api4 import LinodeClient
11+
1512
from test.integration.helpers import (
1613
get_test_label,
1714
send_request_when_resource_available,

test/unit/objects/monitor_test.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
from test.unit.base import ClientBaseCase
22
import datetime
33

4-
from linode_api4.objects import CreateToken
5-
64
class MonitorSupportedServicesTest(ClientBaseCase):
75
"""
86
Tests the methods of MonitorServiceSupported class

0 commit comments

Comments
 (0)