Skip to content

Commit e4f339f

Browse files
authored
remove extraneous parenthesis (#24)
1 parent 28ffdc6 commit e4f339f

26 files changed

+28
-33
lines changed

Hologram/Api/Api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
HOLOGRAM_REST_API_BASEURL = 'https://dashboard.hologram.io/api/1'
1616

17-
class Api():
17+
class Api:
1818

1919
def __init__(self, apikey='', username='', password=''):
2020
# Logging setup.

Hologram/Authentication/AES/AESCipher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from cryptography.hazmat.primitives import padding
1313
from cryptography.hazmat.backends import default_backend
1414

15-
class AESCipher():
15+
class AESCipher:
1616

1717
# EFFECTS: Constructor that sets the IV to
1818
def __init__(self, iv, key):

Hologram/Authentication/Authentication.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import logging
1111
from logging import NullHandler
1212

13-
class Authentication():
13+
class Authentication:
1414

1515
def __init__(self, credentials):
1616
self.credentials = credentials

Hologram/Cloud.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
__version__ = '0.9.0'
1717

18-
class Cloud():
18+
class Cloud:
1919

2020
def __repr__(self):
2121
return type(self).__name__

Hologram/Event/Event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# LICENSE: Distributed under the terms of the MIT License
99
import logging
1010

11-
class Event():
11+
class Event:
1212
_funcLookupTable = {}
1313
def __init__(self):
1414
self.__dict__ = self._funcLookupTable

Hologram/Network/Modem/DriverLoader.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import subprocess
1414

1515

16-
class DriverLoader():
16+
class DriverLoader:
1717
# I would much rather use python-kmod for all this
1818
# but it doesn't seem to build properly on the Pi and
1919
# hasn't been updated in years. It's possible we need to update
@@ -37,8 +37,3 @@ def load_module(self, module):
3737
def force_driver_for_device(self, syspath, vid, pid):
3838
with open(syspath, "w") as f:
3939
f.write("%s %s"%(vid, pid))
40-
41-
42-
43-
44-

Hologram/Network/Modem/IModem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
MODEM_TIMEOUT = -1
1818
MODEM_OK = 0
1919

20-
class IModem():
20+
class IModem:
2121

2222
usb_ids = []
2323
# module needed by modem

Hologram/Network/Modem/ModemMode/ModemMode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from logging import NullHandler
1212
from Hologram.Event import Event
1313

14-
class ModemMode():
14+
class ModemMode:
1515

1616
def __repr__(self):
1717
return type(self).__name__

Hologram/Network/Modem/ModemMode/pppd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
__version__ = '1.0.3'
2424
DEFAULT_CONNECT_TIMEOUT = 200
2525

26-
class PPPConnection():
26+
class PPPConnection:
2727

2828
def __repr__(self):
2929
return type(self).__name__

Hologram/Network/Network.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class NetworkScope(Enum):
1919
HOLOGRAM = 2
2020

2121

22-
class Network():
22+
class Network:
2323

2424
def __repr__(self):
2525
return type(self).__name__

0 commit comments

Comments
 (0)