Skip to content

Commit 590baea

Browse files
committed
Codacy fixes.
Fixed the errors found by Codacy. Signed-off-by: Cristi Iacob <[email protected]>
1 parent 9b13564 commit 590baea

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

bindings/python/iio.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ class _Channel(Structure):
6262
class _Buffer(Structure):
6363
pass
6464
class DataFormat(Structure):
65-
6665
"""Represents the data format of an IIO channel."""
6766

6867
_fields_ = [('length', c_uint),
@@ -76,7 +75,7 @@ class DataFormat(Structure):
7675
('repeat', c_uint)]
7776

7877
class ChannelModifier(Enum):
79-
"""Contains the modifier types of an IIO channel. """
78+
"""Contains the modifier types of an IIO channel."""
8079

8180
IIO_NO_MOD = 0
8281
IIO_MOD_X = 1
@@ -124,7 +123,6 @@ class ChannelModifier(Enum):
124123
IIO_MOD_H2 = 43
125124

126125
class ChannelType(Enum):
127-
128126
"""Contains the type of an IIO channel."""
129127

130128
IIO_VOLTAGE = 0
@@ -666,7 +664,6 @@ def _Attr__write(self, value):
666664
_d_write_debug_attr(self._device, self._name_ascii, value.encode('ascii'))
667665

668666
class DeviceBufferAttr(DeviceAttr):
669-
670667
"""Represents a buffer attribute of an IIO device."""
671668

672669
def __init__(self, device, name):

0 commit comments

Comments
 (0)