Skip to content

Commit 71e0ab7

Browse files
committed
🐛 set a valid default, not None
alternatively the parameter could have no default.
1 parent 6de760d commit 71e0ab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vuegen/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def get_args(prog_name: str, others: dict = {}) -> argparse.Namespace:
185185
"-rt",
186186
"--report_type",
187187
type=str,
188-
default=None,
188+
default='streamlit', # this is not a valid default
189189
help="Type of the report to generate (streamlit, html, pdf, docx, odt, revealjs, pptx, or jupyter)."
190190
)
191191

0 commit comments

Comments
 (0)