Skip to content

Commit

Permalink
Fixed long line for linter
Browse files Browse the repository at this point in the history
  • Loading branch information
luis-camero committed Oct 25, 2023
1 parent 2edcc42 commit d5e94d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clearpath_config/platform/battery.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ def __init__(
def update_defaults(self) -> None:
platform = BaseConfig.get_platform_model()
self.DEFAULTS[self.MODEL] = list(self.VALID[platform])[0]
self.DEFAULTS[self.CONFIGURATION] = list(self.VALID[platform][self.DEFAULTS[self.MODEL]])[0]
self.DEFAULTS[self.CONFIGURATION] = list(
self.VALID[platform][self.DEFAULTS[self.MODEL]])[0]

def update(self, serial_number: bool = False) -> None:
if serial_number:
Expand Down

0 comments on commit d5e94d3

Please sign in to comment.