gabriel / muse public
fix patch blast-risk,breakage,bundle,cat,cat_object,check,checkout,cherry-pick task/cli-flag-audit-age #13 / 24
AI Agent gabriel · 156 days ago · Apr 20, 2026 · Diff

fix(blast-risk,breakage,bundle,cat,cat_object,check,checkout,cherry-pick): normalize --json flags, remove bad shorthands, add TestRegisterFlags

sha256:98da53ea420656ba2f08d70f7b617e22e06c1a967596926d8e2a2191b34a21f3 sha
+70 ~38 symbols
sha256:34792666f68ca663114c8091007763969b40a26b7a8bc05c55f060c938e65ad4 snapshot
+70
symbols added
~38
symbols modified
0
dead code introduced
Semantic Changes 108 symbols
~ muse/cli/commands/blast_risk.py .py 3 symbols modified
~ muse/cli/commands/breakage.py .py 2 symbols modified
~ muse/cli/commands/cat.py .py 2 symbols modified
~ muse/cli/commands/cat_object.py .py 2 symbols modified
~ muse/cli/commands/check.py .py 2 symbols modified
~ muse/cli/commands/cherry_pick.py .py 1 symbol modified
~ tests/test_blast_risk_supercharge.py .py 9 symbols added
+ TestRegisterFlags class class TestRegisterFlags L400–420
+ test_default_json_out_is_false method method test_default_json_out_is_false L401–403
+ test_file_has_no_f_shorthand method method test_file_has_no_f_shorthand L413–416
+ test_j_shorthand_sets_json_out method method test_j_shorthand_sets_json_out L409–411
+ test_json_flag_sets_json_out method method test_json_flag_sets_json_out L405–407
+ test_top_flag method method test_top_flag L418–420
+ _parse_br function function _parse_br L392–397
+ _argparse import import _argparse L388–388
+ _register_blast_risk import import _register_blast_risk L389–389
~ tests/test_cmd_breakage.py .py 9 symbols added
+ TestRegisterFlags class class TestRegisterFlags L873–892
+ test_default_json_out_is_false method method test_default_json_out_is_false L874–876
+ test_j_shorthand_sets_json_out method method test_j_shorthand_sets_json_out L882–884
+ test_json_flag_sets_json_out method method test_json_flag_sets_json_out L878–880
+ test_language_flag method method test_language_flag L886–888
+ test_strict_flag method method test_strict_flag L890–892
+ _parse_breakage function function _parse_breakage L865–870
+ _argparse import import _argparse L861–861
+ _register_breakage import import _register_breakage L862–862
~ tests/test_cmd_bundle_hardening.py .py 11 symbols added
+ TestRegisterFlags class class TestRegisterFlags L2083–2110
+ test_create_default_json_out_is_false method method test_create_default_json_out_is_false L2084–2086
+ test_create_j_shorthand method method test_create_j_shorthand L2092–2094
+ test_create_json_flag method method test_create_json_flag L2088–2090
+ test_inspect_default_json_out_is_false method method test_inspect_default_json_out_is_false L2096–2098
+ test_inspect_j_shorthand method method test_inspect_j_shorthand L2100–2102
+ test_verify_default_json_out_is_false method method test_verify_default_json_out_is_false L2104–2106
+ test_verify_j_shorthand method method test_verify_j_shorthand L2108–2110
+ _parse_bundle function function _parse_bundle L2075–2080
+ _argparse import import _argparse L2071–2071
+ _register_bundle import import _register_bundle L2072–2072
~ tests/test_cmd_cat.py .py 9 symbols added
+ TestRegisterFlags class class TestRegisterFlags L623–643
+ test_all_flag method method test_all_flag L641–643
+ test_default_json_out_is_false method method test_default_json_out_is_false L624–626
+ test_j_shorthand_sets_json_out method method test_j_shorthand_sets_json_out L632–634
+ test_json_flag_sets_json_out method method test_json_flag_sets_json_out L628–630
+ test_line_numbers_has_no_n_shorthand method method test_line_numbers_has_no_n_shorthand L636–639
+ _parse_cat function function _parse_cat L615–620
+ _argparse import import _argparse L611–611
+ _register_cat import import _register_cat L612–612
~ tests/test_cmd_cat_object.py .py 9 symbols added, 8 symbols modified
+ TestRegisterFlags class class TestRegisterFlags L627–647
+ test_default_json_out_is_false method method test_default_json_out_is_false L628–630
+ test_format_flag_no_longer_exists method method test_format_flag_no_longer_exists L644–647
+ test_inline_flag method method test_inline_flag L640–642
+ test_j_shorthand_sets_json_out method method test_j_shorthand_sets_json_out L636–638
+ test_json_flag_sets_json_out method method test_json_flag_sets_json_out L632–634
+ _parse_co function function _parse_co L619–624
+ _argparse import import _argparse L615–615
+ _register_cat_object import import _register_cat_object L616–616
~ tests/test_cmd_check.py .py 9 symbols added
+ TestRegisterFlags class class TestRegisterFlags L925–945
+ test_default_json_out_is_false method method test_default_json_out_is_false L926–928
+ test_format_flag_no_longer_exists method method test_format_flag_no_longer_exists L942–945
+ test_j_shorthand_sets_json_out method method test_j_shorthand_sets_json_out L934–936
+ test_json_flag_sets_json_out method method test_json_flag_sets_json_out L930–932
+ test_strict_flag method method test_strict_flag L938–940
+ _parse_check function function _parse_check L917–922
+ _argparse import import _argparse L913–913
+ _register_check import import _register_check L914–914
~ tests/test_cmd_checkout.py .py 6 symbols added, 6 symbols modified
+ test_create_branch_flag method method test_create_branch_flag L1561–1563
+ test_f_shorthand_for_force method method test_f_shorthand_for_force L1569–1571
+ test_n_shorthand_for_dry_run method method test_n_shorthand_for_dry_run L1577–1579
+ _parse_checkout function function _parse_checkout L1540–1545
+ _argparse import import _argparse L1536–1536
+ _register_checkout import import _register_checkout L1537–1537
~ tests/test_cmd_cherry_pick_hardening.py .py 8 symbols added, 1 symbol modified
+ test_default_json_out_is_false method method test_default_json_out_is_false L1164–1166
+ test_j_shorthand_sets_json_out method method test_j_shorthand_sets_json_out L1172–1174
+ test_json_flag_sets_json_out method method test_json_flag_sets_json_out L1168–1170
+ test_no_commit_flag method method test_no_commit_flag L1176–1178
+ test_no_commit_has_no_n_shorthand method method test_no_commit_has_no_n_shorthand L1180–1183
+ _parse_cp function function _parse_cp L1155–1160
+ _argparse import import _argparse L1151–1151
+ _register_cherry_pick import import _register_cherry_pick L1152–1152

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:98da53ea420656ba2f08d70f7b617e22e06c1a967596926d8e2a2191b34a21f3 --body "your comment"