gabriel / muse public
feat patch attributes dev
gabriel · 144 days ago · Apr 16, 2026 · Diff

feat(attributes): --strategy/--dimension filters, rule_count, --match-required, indent=2 JSON

sha256:4a247c8b73bd2b62009fc88b9176eb86dc647cf9a42d1d3171e9e40fea05b64c sha
+34 ~9 −3 symbols
sha256:33df0595b81386b51cdd25f4610ba59338e40ab227f1416545a5ecd3a65aa035 snapshot
+34
symbols added
~9
symbols modified
−3
symbols removed
0
dead code introduced
Semantic Changes 46 symbols
~ tests/test_cmd_attributes_hardening.py .py 34 symbols added, 3 symbols removed, 3 symbols modified
test_json_is_compact_single_line method method test_json_is_compact_single_line L1405–1411
test_json_is_compact_single_line method method test_json_is_compact_single_line L1133–1139
test_json_is_compact_single_line method method test_json_is_compact_single_line L1653–1659
+ TestCheckMatchRequired class class TestCheckMatchRequired L2025–2075
+ test_match_required_error_on_stderr method method test_match_required_error_on_stderr L2040–2046
+ test_match_required_exits_0_when_all_matched method method test_match_required_exits_0_when_all_matched L2026–2030
+ test_match_required_exits_1_when_unmatched method method test_match_required_exits_1_when_unmatched L2032–2038
+ test_match_required_false_by_default method method test_match_required_false_by_default L2069–2075
+ test_match_required_json_still_prints_before_exit method method test_match_required_json_still_prints_before_exit L2048–2059
+ test_match_required_with_mixed_paths method method test_match_required_with_mixed_paths L2061–2067
+ TestJsonIndent class class TestJsonIndent L2104–2127
+ test_check_json_indented method method test_check_json_indented L2113–2119
+ test_list_json_indented method method test_list_json_indented L2105–2111
+ test_validate_json_indented method method test_validate_json_indented L2121–2127
+ TestListDimensionFilter class class TestListDimensionFilter L1963–1998
+ test_combined_no_match method method test_combined_no_match L1992–1998
+ test_dimension_filter_no_match_empty method method test_dimension_filter_no_match_empty L1973–1980
+ test_dimension_filter_returns_only_matching method method test_dimension_filter_returns_only_matching L1964–1971
+ test_strategy_and_dimension_combined method method test_strategy_and_dimension_combined L1982–1990
+ TestListRuleCount class class TestListRuleCount L2001–2022
+ test_rule_count_matches_rules_length method method test_rule_count_matches_rules_length L2009–2014
+ test_rule_count_present_in_json method method test_rule_count_present_in_json L2002–2007
+ test_rule_count_zero_on_empty_file method method test_rule_count_zero_on_empty_file L2016–2022
+ TestListStrategyFilter class class TestListStrategyFilter L1919–1960
+ test_strategy_filter_excludes_others method method test_strategy_filter_excludes_others L1929–1935
+ test_strategy_filter_no_match_returns_empty method method test_strategy_filter_no_match_returns_empty L1937–1944
+ test_strategy_filter_returns_only_matching method method test_strategy_filter_returns_only_matching L1920–1927
+ test_strategy_filter_text_mode method method test_strategy_filter_text_mode L1946–1952
+ test_strategy_short_flag method method test_strategy_short_flag L1954–1960
+ test_json_is_valid_and_parseable method method test_json_is_valid_and_parseable L1405–1411
+ test_json_is_valid_and_parseable method method test_json_is_valid_and_parseable L1133–1139
+ test_json_is_valid_and_parseable method method test_json_is_valid_and_parseable L1653–1659
+ TestValidateRuleCount class class TestValidateRuleCount L2078–2101
+ test_rule_count_present_on_success method method test_rule_count_present_on_success L2079–2086
+ test_rule_count_zero_on_missing method method test_rule_count_zero_on_missing L2088–2093
+ test_rule_count_zero_on_parse_error method method test_rule_count_zero_on_parse_error L2095–2101
+ _MIXED_ATTRS variable variable _MIXED_ATTRS L1885–1916
← Older Oldest on dev
All commits
Newer → Latest on dev

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:4a247c8b73bd2b62009fc88b9176eb86dc647cf9a42d1d3171e9e40fea05b64c --body "your comment"