Skip to content

Commit c07e398

Browse files
committed
lint
1 parent 1085d83 commit c07e398

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

docs/operate/get-started/other-hardware/dependencies.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,12 @@ If you prefer to use explicit dependencies (for example, for an optional depende
197197
@classmethod
198198
def validate_config(cls, config: ComponentConfig) -> Sequence[str]:
199199
fields = config.attributes.fields
200-
if "camera_name" in fields and not fields["camera_name"].HasField("string_value"):
201-
raise Exception("camera_name must be a string")
200+
if "camera_name" in fields and not fields[
201+
"camera_name"].HasField("string_value"):
202+
raise Exception("camera_name must be a string")
202203
if "camera_name" not in fields:
203-
self.logger.info("camera_name not configured, using empty string and no camera")
204+
self.logger.info(
205+
"camera_name not configured,using empty string and no camera")
204206
return []
205207
```
206208

0 commit comments

Comments
 (0)