Skip to content

Commit

Permalink
Merge pull request #89 from Pennycook/remove-batchmode
Browse files Browse the repository at this point in the history
Remove --batchmode option
  • Loading branch information
Pennycook committed Apr 3, 2024
2 parents 1482c03 + 6ac3fa3 commit 606c357
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions bin/codebasin
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,6 @@ def main():
action="store",
help="Dump out annotated platform/parsing tree to <file.json>.",
)
deprecated_args.add_argument(
"--batchmode",
dest="batchmode",
action="store_true",
default=False,
help="Enable additional output for bulk operation.",
)
parser.add_argument(
"-x",
"--exclude",
Expand Down Expand Up @@ -146,11 +139,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.",
Expand Down Expand Up @@ -273,12 +261,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)
Expand Down

0 comments on commit 606c357

Please sign in to comment.