Skip to content

Commit 75ea69c

Browse files
committed
cp_libs: fix '-v' cmd line flag after previous changes
1 parent 92e0b30 commit 75ea69c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adabot/circuitpython_libraries.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ def print_issue_overview(*insights):
397397
startup_message.append(" - Report output will be saved to: {}".format(output_filename))
398398

399399
validators = []
400+
validator_names = []
400401
if cmd_line_args.validator:
401402
if cmd_line_args.validator != "all":
402403
validators = []
@@ -423,7 +424,7 @@ def print_issue_overview(*insights):
423424

424425
startup_message.append(" - These validators will run: {}".format(", ".join(validator_names)))
425426

426-
if "validate_contents" not in validators:
427+
if "validate_contents" not in validator_names:
427428
validator_kwarg_list["validate_contents_quiet"] = True
428429
validators.insert(0, [val[1] for val in default_validators if "validate_contents" in val[0]][0])
429430

0 commit comments

Comments
 (0)