Skip to content

Commit 03c1f08

Browse files
committed
Fix Lint Error
- add docstring to traverseConfig function
1 parent 590b60f commit 03c1f08

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

meshtastic/__main__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ def splitCompoundName(comp_name):
135135
return name
136136

137137
def traverseConfig(config_root, config, interface_config):
138+
"""Iterate through current config level preferences and either traverse deeper if preference is a dict or set preference"""
138139
snake_name = meshtastic.util.camel_to_snake(config_root)
139140
for pref in config:
140141
pref_name = f"{snake_name}.{pref}"

0 commit comments

Comments
 (0)