-
Couldn't load subscription status.
- Fork 16
Yaml option expansion #126
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
base: main
Are you sure you want to change the base?
Changes from 5 commits
2db9630
49da261
3f183a1
a418779
9f7d0ec
43e4b1f
e5f27a8
3b1145f
0380a7b
bacb3f9
563a782
a9372a6
5bb3551
4437028
54233ad
8449204
d7ccc93
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -203,6 +203,9 @@ def addOptionToGroup(option_name: str, group: str): | |
|
|
||
| for category in category_table: | ||
| for option_name in category_table[category].get("yaml_option", []): | ||
| for c in "><=:": # Range and Choice options must be defined using Options.json | ||
| if c in option_name: | ||
| continue | ||
|
||
| if option_name[0] == "!": | ||
| option_name = option_name[1:] | ||
| option_name = format_to_valid_identifier(option_name) | ||
|
|
@@ -214,6 +217,9 @@ def addOptionToGroup(option_name: str, group: str): | |
| for starting_items in starting_items: | ||
| if starting_items.get("yaml_option"): | ||
| for option_name in starting_items["yaml_option"]: | ||
| for c in "><=:": # Range and Choice options must be defined using Options.json | ||
| if c in option_name: | ||
| continue | ||
| if option_name[0] == "!": | ||
| option_name = option_name[1:] | ||
| option_name = format_to_valid_identifier(option_name) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.