Skip to content

Commit 23ea19c

Browse files
committed
linter fixes following failed build
1 parent c844e4e commit 23ea19c

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

meshtastic/__main__.py

+13-7
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def setPref(config, comp_name, raw_val) -> bool:
226226
logging.debug(f"valStr:{raw_val} val:{val}")
227227

228228
if snake_name == "wifi_psk" and len(str(raw_val)) < 8:
229-
print(f"Warning: network.wifi_psk must be 8 or more characters.")
229+
print("Warning: network.wifi_psk must be 8 or more characters.")
230230
return False
231231

232232
enumType = pref.enum_type
@@ -1342,7 +1342,8 @@ def addSelectionArgs(parser: argparse.ArgumentParser) -> argparse.ArgumentParser
13421342

13431343
group.add_argument(
13441344
"--dest",
1345-
help="The destination node id for any sent commands. Use prefix of ! or 0x. If not set '^all' or '^local' is assumed as appropriate.",
1345+
help="The destination node id for any sent commands. If not set '^all' or '^local' is assumed."
1346+
"Use the node ID with a '!' or '0x' prefix or the node number.",
13461347
default=None,
13471348
metavar="!xxxxxxxx",
13481349
)
@@ -1727,27 +1728,32 @@ def addRemoteAdminArgs(parser: argparse.ArgumentParser) -> argparse.ArgumentPars
17271728

17281729
group.add_argument(
17291730
"--remove-node",
1730-
help="Tell the destination node to remove a specific node from its DB, by node number or ID",
1731+
help="Tell the destination node to remove a specific node from its NodeDB. "
1732+
"Use the node ID with a '!' or '0x' prefix or the node number.",
17311733
metavar="!xxxxxxxx"
17321734
)
17331735
group.add_argument(
17341736
"--set-favorite-node",
1735-
help="Tell the destination node to set the specified node to be favorited on the NodeDB on the devicein its DB, by number or ID using '!' or '0x' prefix.",
1737+
help="Tell the destination node to set the specified node to be favorited on the NodeDB. "
1738+
"Use the node ID with a '!' or '0x' prefix or the node number.",
17361739
metavar="!xxxxxxxx"
17371740
)
17381741
group.add_argument(
17391742
"--remove-favorite-node",
1740-
help="Tell the destination node to set the specified node to be un-favorited on the NodeDB on the device, by number or ID using '!' or '0x' prefix.",
1743+
help="Tell the destination node to set the specified node to be un-favorited on the NodeDB. "
1744+
"Use the node ID with a '!' or '0x' prefix or the node number.",
17411745
metavar="!xxxxxxxx"
17421746
)
17431747
group.add_argument(
17441748
"--set-ignored-node",
1745-
help="Tell the destination node to set the specified node to be ignored on the NodeDB on the devicein its DB, by number or ID using '!' or '0x' prefix.",
1749+
help="Tell the destination node to set the specified node to be ignored on the NodeDB. "
1750+
"Use the node ID with a '!' or '0x' prefix or the node number.",
17461751
metavar="!xxxxxxxx"
17471752
)
17481753
group.add_argument(
17491754
"--remove-ignored-node",
1750-
help="Tell the destination node to set the specified node to be un-ignored on the NodeDB on the device, by number or ID using '!' or '0x' prefix.",
1755+
help="Tell the destination node to set the specified node to be un-ignored on the NodeDB. "
1756+
"Use the node ID with a '!' or '0x' prefix or the node number.",
17511757
metavar="!xxxxxxxx"
17521758
)
17531759
group.add_argument(

0 commit comments

Comments
 (0)