Skip to content

Commit e1dffc8

Browse files
committed
Linting for new CI
1 parent 771fc39 commit e1dffc8

File tree

9 files changed

+10
-0
lines changed

9 files changed

+10
-0
lines changed

clearpath_config/common/types/domain_id.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2727
# POSSIBILITY OF SUCH DAMAGE.
2828
class DomainID:
29+
2930
def __init__(self, _id: int = 0) -> None:
3031
self.assert_valid(_id)
3132
self.id = _id

clearpath_config/common/types/file.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
# File
3232
# - file class
3333
class File:
34+
3435
def __init__(self, path: str, creatable=False, exists=False, make_abs=True) -> None:
3536
if creatable:
3637
assert File.is_creatable(path)

clearpath_config/common/types/hostname.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
# Hostname
3333
# - hostname class
3434
class Hostname:
35+
3536
def __init__(self, hostname: str = 'hostname') -> None:
3637
self.assert_valid(hostname)
3738
self.hostname = hostname

clearpath_config/links/links.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ def __new__(cls, _type: str, name: str) -> BaseLink:
6565

6666
# LinkListConfig
6767
class LinkListConfig(ListConfig[BaseLink, str]):
68+
6869
def __init__(self) -> None:
6970
super().__init__(
7071
uid=lambda obj: obj.get_name(),

clearpath_config/mounts/mounts.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def __new__(cls, model: str) -> BaseMount:
5858

5959

6060
class MountListConfig(OrderedListConfig[BaseMount]):
61+
6162
def __init__(self) -> None:
6263
super().__init__(obj_type=BaseMount)
6364

clearpath_config/platform/attachments/a200.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ def __init__(
116116
) -> None:
117117
super().__init__(name, model, enabled, parent, xyz, rpy)
118118

119+
119120
class A200Attachment(PlatformAttachment):
120121
PLATFORM = Platform.A200
121122
# Top Plates

clearpath_config/platform/attachments/config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333

3434

3535
class AttachmentListConfig(ListConfig[BaseAttachment, str]):
36+
3637
def __init__(self) -> None:
3738
super().__init__(
3839
uid=lambda obj: obj.get_name(),
@@ -50,6 +51,7 @@ def to_dict(self) -> dict:
5051
# Attachments Config
5152
# - to be used by all platforms.
5253
class AttachmentsConfig:
54+
5355
def __init__(
5456
self,
5557
attachment,

clearpath_config/platform/can.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ def interface(self, interface: str) -> None:
124124

125125

126126
class CANBridgeListConfig(ListConfig[CANBridge, str]):
127+
127128
def __init__(self) -> None:
128129
super().__init__(
129130
uid=lambda obj: obj.interface,

clearpath_config/sensors/sensors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ def __new__(cls, _type: str, _model: str) -> BaseSensor:
195195

196196

197197
class SensorListConfig(OrderedListConfig[BaseSensor]):
198+
198199
def __init__(self) -> None:
199200
super().__init__(obj_type=BaseSensor)
200201

0 commit comments

Comments
 (0)