You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
skill novelty ground: a --shared-lib pattern error names --library, which the command refuses as a flag #1504
dokimi/dokimi/novelty/symbols.py:_files builds its messages as --{flag} ... with flag = "library" for the shared-library patterns (symbols.py:229), but the flag of skill novelty ground is --shared-lib (commands/skill.py:153); --library is refused by the parser (tests/test_novelty_ground_symbols.py::test_the_shared_library_flag_is_shared_lib_and_library_is_refused).
Repro, on main and at the head of the #1384 fix: python cli.py skill novelty ground --atoms atoms.json --header inc/x.h --shared-lib 'nope/*.so' --prefix cblas_ exits 2 with Error: --library 'nope/*.so' matches no file. A user who retypes --library gets an argparse error.
Fix: pass "shared-lib" as the flag word (and keep header), and change the pinned matches no file test text if it pins --library. The refusal of an unlistable directory added for #1384 uses the same word.
Activity