From c55a51c7a894f736f55aec5b3ac7530cf91b1c08 Mon Sep 17 00:00:00 2001 From: pgjones Date: Sun, 24 May 2026 22:09:29 +0100 Subject: [PATCH] Bugfix load the show_only_failing from the config Rather than the CLI arguments as this ensures that a value used in the config is used as specified in the documentation. --- licensecheck/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/licensecheck/cli.py b/licensecheck/cli.py index 75da5e0..2950581 100644 --- a/licensecheck/cli.py +++ b/licensecheck/cli.py @@ -200,7 +200,7 @@ def getFromConfig(key: str) -> list[types.ucstr]: this_license, sorted(depsWithLicenses), hide_output_parameters, - show_only_failing=args.get("show_only_failing", False), + show_only_failing=scopedConfig.get.get("show_only_failing", False), ), file=output_file, )