From 6ac3fa307d6c9c60aa3ad9fd7bac5fae7bfa9ee8 Mon Sep 17 00:00:00 2001 From: John Pennycook Date: Thu, 28 Mar 2024 09:18:08 -0700 Subject: [PATCH] Remove --batchmode option Previously deprecated in 1.2.0. Signed-off-by: John Pennycook --- bin/codebasin | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/bin/codebasin b/bin/codebasin index aa578f6..2e9d253 100755 --- a/bin/codebasin +++ b/bin/codebasin @@ -108,13 +108,6 @@ def main(): action="store", help="Dump out annotated platform/parsing tree to .", ) - deprecated_args.add_argument( - "--batchmode", - dest="batchmode", - action="store_true", - default=False, - help="Enable additional output for bulk operation.", - ) parser.add_argument( "-x", "--exclude", @@ -155,11 +148,6 @@ def main(): ) # Warnings for deprecated functionality with no planned replacement. - if args.batchmode: - warnings.warn( - "--batchmode will be removed in a future release.", - DeprecationWarning, - ) if args.dump: warnings.warn( "--dump will be removed in a future release.", @@ -291,12 +279,6 @@ def main(): return True return name in args.reports - if args.batchmode and ( - report_enabled("summary") or report_enabled("clustering") - ): - print(f"Config file: {config_file}") - print(f"Root: {rootdir}") - # Print summary report if report_enabled("summary"): summary = report.summary(setmap)