Skip to content

Commit 606c357

Browse files
authored
Merge pull request #89 from Pennycook/remove-batchmode
Remove --batchmode option
2 parents 1482c03 + 6ac3fa3 commit 606c357

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

bin/codebasin

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,6 @@ def main():
9999
action="store",
100100
help="Dump out annotated platform/parsing tree to <file.json>.",
101101
)
102-
deprecated_args.add_argument(
103-
"--batchmode",
104-
dest="batchmode",
105-
action="store_true",
106-
default=False,
107-
help="Enable additional output for bulk operation.",
108-
)
109102
parser.add_argument(
110103
"-x",
111104
"--exclude",
@@ -146,11 +139,6 @@ def main():
146139
)
147140

148141
# Warnings for deprecated functionality with no planned replacement.
149-
if args.batchmode:
150-
warnings.warn(
151-
"--batchmode will be removed in a future release.",
152-
DeprecationWarning,
153-
)
154142
if args.dump:
155143
warnings.warn(
156144
"--dump will be removed in a future release.",
@@ -273,12 +261,6 @@ def main():
273261
return True
274262
return name in args.reports
275263

276-
if args.batchmode and (
277-
report_enabled("summary") or report_enabled("clustering")
278-
):
279-
print(f"Config file: {config_file}")
280-
print(f"Root: {rootdir}")
281-
282264
# Print summary report
283265
if report_enabled("summary"):
284266
summary = report.summary(setmap)

0 commit comments

Comments
 (0)