Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant CLI args #520

Merged
merged 1 commit into from
Mar 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions spectacles/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,15 +505,6 @@ def _build_select_subparser(
The '*' wildcard selects all models or explores. For instance,\
'model_name/*' would select all explores in the 'model_name' model.",
)
base_subparser.add_argument(
"--exclude",
nargs="+",
default=[],
help="Specify the explores Spectacles should exclude when testing. \
List of strings in 'model_name/explore_name' format. \
The '*' wildcard excludes all models or explores. For instance,\
'model_name/*' would select all explores in the 'model_name' model.",
)
return base_subparser


Expand Down Expand Up @@ -677,13 +668,6 @@ def _build_content_subparser(
action="store_true",
help="Exclude errors found in content in personal folders.",
)
subparser.add_argument(
"--exclude-folders",
type=int,
nargs="+",
help="Exclude errors found in folders specified by id.",
default=[],
)
subparser.add_argument(
"--folders",
nargs="+",
Expand Down