Skip to content

Commit d994427

Browse files
committed
Remove noqas
1 parent c22ca9c commit d994427

3 files changed

Lines changed: 4 additions & 7 deletions

File tree

upcloud_api/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
Python Interface to UpCloud's API.
33
"""
44

5-
# flake8: noqa
6-
7-
85
__version__ = '1.0.1'
96
__author__ = 'Elias Nygren'
107
__author_email__ = 'elias.nygren@upcloud.com'

upcloud_api/cloud_manager/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class BaseAPI:
1313
api = 'api.upcloud.com'
1414
api_v = '1.3'
1515

16-
def __init__(self, token, timeout=None): # noqa
16+
def __init__(self, token, timeout=None):
1717
self.token = token
1818
self.timeout = timeout
1919

upcloud_api/server.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def save(self):
140140
self.cloud_manager.modify_server(self.uuid, **kwargs)
141141
self._reset(kwargs)
142142

143-
def destroy(self): # noqa
143+
def destroy(self):
144144
self.cloud_manager.delete_server(self.uuid)
145145

146146
def shutdown(self, hard=False, timeout=30):
@@ -160,7 +160,7 @@ def shutdown(self, hard=False, timeout=30):
160160
self.cloud_manager.post_request(path, body)
161161
object.__setattr__(self, 'state', 'maintenance')
162162

163-
def stop(self): # noqa
163+
def stop(self):
164164
"""
165165
Alias for shutdown.
166166
"""
@@ -257,7 +257,7 @@ def add_firewall_rule(self, FirewallRule):
257257
"""
258258
return self.cloud_manager.create_firewall_rule(self, FirewallRule.to_dict())
259259

260-
def remove_firewall_rule(self, FirewallRule): # noqa
260+
def remove_firewall_rule(self, FirewallRule):
261261
return FirewallRule.destroy()
262262

263263
def get_firewall_rules(self):

0 commit comments

Comments
 (0)