Skip to content

Commit f6aa332

Browse files
committed
comment justifying dictionary
1 parent 43b412e commit f6aa332

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lightbeam/__main__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ def emit(self, record):
1313

1414
DEFAULT_CONFIG_FILES = ['lightbeam.yaml', 'lightbeam.yml']
1515

16+
# use a dictionary here so that command strings can be accessed with a lookup.
17+
# This helps enforce usage of this structure
1618
ALL_COMMANDS = {
1719
"validate": "validate",
1820
"send": "send",

0 commit comments

Comments
 (0)