From 03c1f08e452b9e296c2e7ad69535b30dd9010570 Mon Sep 17 00:00:00 2001 From: Dan Welch Date: Tue, 16 Apr 2024 14:46:35 -0600 Subject: [PATCH] Fix Lint Error - add docstring to traverseConfig function --- meshtastic/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/meshtastic/__main__.py b/meshtastic/__main__.py index 88304da..be22a76 100644 --- a/meshtastic/__main__.py +++ b/meshtastic/__main__.py @@ -135,6 +135,7 @@ def splitCompoundName(comp_name): return name def traverseConfig(config_root, config, interface_config): + """Iterate through current config level preferences and either traverse deeper if preference is a dict or set preference""" snake_name = meshtastic.util.camel_to_snake(config_root) for pref in config: pref_name = f"{snake_name}.{pref}"