Skip to content

Commit 9bfd0fb

Browse files
authored
Merge pull request #70 from Pennycook/deprecate-report-list
Deprecate passing more than one value to --report
2 parents 87cbffd + ef4773e commit 9bfd0fb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bin/codebasin

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,11 @@ def main():
161161
"--dump will be removed in a future release.",
162162
DeprecationWarning,
163163
)
164+
if len(args.reports) > 1:
165+
warnings.warn(
166+
"Passing more than one value to --report (-R) is deprecated.",
167+
DeprecationWarning,
168+
)
164169

165170
# Determine the root directory based on the -S and -r flags.
166171
rootpath = None

0 commit comments

Comments
 (0)