Commit Graph

10 Commits

Author SHA1 Message Date
Hiroshi Miura
d9c3280748 Update generate_combinations.py
- adjust MetadataFactory 2nd argument as MetadataFactory.ModulesQuery

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-11-23 18:01:14 +09:00
Hiroshi Miura
1dbd73450a Adjust code scanner warnings
- Replace map+filter and list+filter with list comprehension expression
- Use try/except for next(Iterator)
- Add test case for altlink that cause exception on next() in get_altlink
- Avoid exit but use sys.exit

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2022-11-21 07:34:45 +09:00
Dave Dalcino
c90b262984 remove extensions from ArchiveId 2022-11-16 16:14:55 -08:00
Dave Dalcino
caee04bcb3 Remove extensions 2022-11-16 16:14:54 -08:00
David Dalcino
ec073a6272 Fix incompatible type annotations 2022-03-10 18:29:18 -08:00
David Dalcino
38ae115e19 Fix module fetching in generate_combinations.py 2021-09-17 14:50:13 -07:00
David Dalcino
6b85baefd5 Fix broken generate_combinations.py
Fix #342. This problem was related to refactoring the List subcommand,
which changed the ArchiveId.category to receive "qt" or "tools",
instead of "qt5", "qt6", or "tools"
2021-07-25 23:35:16 -07:00
David Dalcino
e3d28a803c Use library instead of ad-hoc code
This replaces `pretty_print_combos` with `json.dumps`, and
`compare_combos` with `jsoncomparison.Compare`.
2021-07-23 13:28:36 -07:00
David Dalcino
c7f720944a black & isort 2021-07-19 20:32:51 -07:00
David Dalcino
89873da8b3 Implement GH Action that checks combinations.py
This is set to run once per month, and on every push.
Before merging this PR, "push" should be removed from the list of
events that trigger the script, which should not be run so frequently.
The "push" event is turned on for testing only.
2021-07-19 20:26:52 -07:00