Skip to content

Commit

Permalink
Codacy fixes.
Browse files Browse the repository at this point in the history
Fixed the errors found by Codacy.

Signed-off-by: Cristi Iacob <[email protected]>
  • Loading branch information
cristi-iacob committed Apr 22, 2020
1 parent 9b13564 commit 590baea
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bindings/python/iio.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ class _Channel(Structure):
class _Buffer(Structure):
pass
class DataFormat(Structure):

"""Represents the data format of an IIO channel."""

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

class ChannelModifier(Enum):
"""Contains the modifier types of an IIO channel. """
"""Contains the modifier types of an IIO channel."""

IIO_NO_MOD = 0
IIO_MOD_X = 1
Expand Down Expand Up @@ -124,7 +123,6 @@ class ChannelModifier(Enum):
IIO_MOD_H2 = 43

class ChannelType(Enum):

"""Contains the type of an IIO channel."""

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

class DeviceBufferAttr(DeviceAttr):

"""Represents a buffer attribute of an IIO device."""

def __init__(self, device, name):
Expand Down

0 comments on commit 590baea

Please sign in to comment.