-
Notifications
You must be signed in to change notification settings - Fork 3k
Remove unused arguments from detect targets #3439
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
Conversation
57f1659
to
1bc0873
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few comments below
@@ -68,14 +70,17 @@ def main(): | |||
# parameters like 'toolchains_filter' are also set. | |||
muts = get_autodetected_MUTS_list() | |||
|
|||
mcu_filter = options.general_filter_regex or [".*"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Any reason why the default value for the --filter
argument can't be ".*"
?
It seems kind of odd to accept an array of regex expressions. Wouldn't you just change your regex to be more accommodating?
Also, the current ArgParse option will set options.general_filter_regex
to just a string, not an array. Won't this blow up below?
1bc0873
to
23461ee
Compare
As far as I know, none of the CI scripts hit this script, but I'll run the basic one just in case. /morph test |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
OutputAll builds and test passed! |
Ready pending review from @adbridge |
Status
READY
Todos
mbed detect
still works and thatmbed detect -f
worksResolves #1996