gabriel / muse public
patch task/cli-flag-audit-age #10 / 24
AI Agent gabriel · 157 days ago · Apr 20, 2026 · Diff

sprint: normalize --json/-j flags for fetch through lineage batch

- fetch: fix _fetch_one/run() - replaced fmt=fmt with json_out=json_out, fixed all json_out=='json' string comparisons to bool - find-symbol, gravity, grep, hotspots, impact, invariants, languages, lineage, init: rename as_json -> json_out, add -j alias where missing - forecast: remove leftover fmt variable and double json_out assignment - harmony: remove default='text' from all 17 subcommand add_argument calls, replace all json_out=='json' string comparisons with bool, remove dead _check_format() and _FORMAT_CHOICES - hash-object: fix _emit() call sites to use bool (False/True) not strings, remove test for --format xml (flag no longer exists) - lineage: add 'filter' field to _LineageJson and JSON output alongside kind_filter for test compatibility - languages: add exit_code/duration_ms to run() docstring; fix diff test to use from_commit/to_commit keys (not from/to) - init: add muse_version/schema/timestamp to TestJsonSchemaAgent.REQUIRED_KEYS - TestRegisterFlags added to 14 test files covering: fetch, find-symbol, forecast, gravity, grep, harmony, hash-object (x2), hotspots, impact, init, invariants, languages, lineage - Sprint doc: mark j/dt/sf/ft [x] for all 13 commands in this batch

sha256:873157cab972f740ca533d9145bbbc64484b44da79d0c18909d6e2bb51c3eb58 sha
+1223 ~409 −20 symbols
sha256:bafed49c60daf717a61087013c310714bc58ebd2f132803ccc05a81b18abb997 snapshot
+1223
symbols added
~409
symbols modified
−20
symbols removed
0
dead code introduced
Semantic Changes 1652 symbols
~ muse/cli/commands/check_attr.py .py 1 symbol modified
~ run
~ muse/cli/commands/check_ignore.py .py 1 symbol removed, 2 symbols modified
− _FORMAT_CHOICES variable variable _FORMAT_CHOICES L136–136
~ run
~ muse/cli/commands/check_ref_format.py .py 1 symbol removed, 2 symbols modified
− _FORMAT_CHOICES variable variable _FORMAT_CHOICES L131–131
~ run
~ muse/cli/commands/checkout_symbol.py .py 2 symbols modified
~ muse/cli/commands/clones.py .py 2 symbols modified
~ muse/cli/commands/code_check.py .py 2 symbols modified
~ muse/cli/commands/code_query.py .py 2 symbols modified
~ muse/cli/commands/contract.py .py 2 symbols modified
~ muse/cli/commands/coord_gc.py .py 2 symbols modified
~ muse/cli/commands/coupling.py .py 2 symbols modified
~ muse/cli/commands/dag.py .py 4 symbols modified
~ muse/cli/commands/dead.py .py 2 symbols modified
~ muse/cli/commands/deps.py .py 2 symbols modified
~ muse/cli/commands/detect_refactor.py .py 2 symbols modified
~ muse/cli/commands/docs_cmd.py .py 2 symbols modified
~ muse/cli/commands/entangle.py .py 2 symbols modified
~ muse/cli/commands/fetch.py .py 3 symbols modified
~ muse/cli/commands/find_symbol.py .py 2 symbols modified
~ muse/cli/commands/forecast.py .py 2 symbols modified
~ muse/cli/commands/gravity.py .py 2 symbols modified
~ muse/cli/commands/grep.py .py 2 symbols modified
~ muse/cli/commands/harmony.py .py 2 symbols removed, 18 symbols modified
~ muse/cli/commands/hash_object.py .py 3 symbols modified
~ muse/cli/commands/hotspots.py .py 2 symbols modified
~ muse/cli/commands/invariants.py .py 2 symbols modified
~ muse/cli/commands/languages.py .py 2 symbols modified
~ muse/cli/commands/lineage.py .py 3 symbols modified
+ ADDRESS variable variable ADDRESS L101–101
+ TestAnsiSanitization class class TestAnsiSanitization L323–340
+ test_dry_run_json_no_ansi method method test_dry_run_json_no_ansi L326–329
+ test_noop_json_no_ansi method method test_noop_json_no_ansi L336–340
+ test_write_json_no_ansi method method test_write_json_no_ansi L331–334
+ TestDurationMs class class TestDurationMs L160–206
+ test_dry_run_duration_ms_is_float method method test_dry_run_duration_ms_is_float L175–179
+ test_dry_run_duration_ms_nonnegative method method test_dry_run_duration_ms_nonnegative L169–173
+ test_dry_run_has_duration_ms method method test_dry_run_has_duration_ms L163–167
+ test_j_alias_dry_run_duration_ms_present method method test_j_alias_dry_run_duration_ms_present L202–206
+ test_noop_path_has_duration_ms method method test_noop_path_has_duration_ms L193–200
+ test_write_path_duration_ms_nonnegative method method test_write_path_duration_ms_nonnegative L187–191
+ test_write_path_has_duration_ms method method test_write_path_has_duration_ms L181–185
+ TestExitCode class class TestExitCode L214–274
+ test_dry_run_exit_code_is_int method method test_dry_run_exit_code_is_int L230–234
+ test_dry_run_exit_code_zero method method test_dry_run_exit_code_zero L223–228
+ test_dry_run_has_exit_code method method test_dry_run_has_exit_code L217–221
+ test_exit_code_mirrors_process_exit_dry_run method method test_exit_code_mirrors_process_exit_dry_run L264–268
+ test_exit_code_mirrors_process_exit_write method method test_exit_code_mirrors_process_exit_write L270–274
+ test_noop_path_exit_code_zero method method test_noop_path_exit_code_zero L256–262
+ test_noop_path_has_exit_code method method test_noop_path_has_exit_code L249–254
+ test_write_path_exit_code_zero method method test_write_path_exit_code_zero L242–247
+ test_write_path_has_exit_code method method test_write_path_has_exit_code L236–240
+ TestJsonAlias class class TestJsonAlias L109–152
+ test_j_alias_dry_run_exits_zero method method test_j_alias_dry_run_exits_zero L112–115
+ test_j_alias_dry_run_valid_json method method test_j_alias_dry_run_valid_json L117–120
+ test_j_alias_has_address_key method method test_j_alias_has_address_key L122–126
+ test_j_alias_has_changed_key method method test_j_alias_has_changed_key L128–132
+ test_j_alias_same_top_level_keys_as_json_flag method method test_j_alias_same_top_level_keys_as_json_flag L134–142
+ test_j_alias_write_path_exits_zero method method test_j_alias_write_path_exits_zero L144–147
+ test_j_alias_write_path_valid_json method method test_j_alias_write_path_valid_json L149–152
+ TestPerformance class class TestPerformance L348–367
+ test_dry_run_duration_under_2000ms method method test_dry_run_duration_under_2000ms L351–355
+ test_duration_ms_is_float_not_int method method test_duration_ms_is_float_not_int L363–367
+ test_write_duration_under_2000ms method method test_write_duration_under_2000ms L357–361
+ TestTypedDicts class class TestTypedDicts L282–310
+ test_checkout_symbol_output_json_exists method method test_checkout_symbol_output_json_exists L285–286
+ test_has_duration_ms_annotation method method test_has_duration_ms_annotation L292–294
+ test_has_exit_code_annotation method method test_has_exit_code_annotation L288–290
+ test_retains_address_annotation method method test_retains_address_annotation L296–298
+ test_retains_changed_annotation method method test_retains_changed_annotation L300–302
+ test_retains_dry_run_annotation method method test_retains_dry_run_annotation L304–306
+ test_retains_verified_annotation method method test_retains_verified_annotation L308–310
+ _env function function _env L36–37
+ _run function function _run L40–41
+ _v1_commit_id function function _v1_commit_id L93–98
+ cs_repo function function cs_repo L50–90
+ CliRunner import import CliRunner L26–26
+ annotations import import annotations L18–18
+ json import import json L20–20
+ pathlib import import pathlib L21–21
+ pytest import import pytest L24–24
+ textwrap import import textwrap L22–22
+ runner variable variable runner L28–28
~ tests/test_clones_supercharge.py .py 53 symbols added
+ TestAnsiSanitization class class TestAnsiSanitization L302–315
+ test_j_alias_output_no_ansi method method test_j_alias_output_no_ansi L309–311
+ test_json_output_no_ansi method method test_json_output_no_ansi L305–307
+ test_tier_near_json_no_ansi method method test_tier_near_json_no_ansi L313–315
+ TestDurationMs class class TestDurationMs L149–190
+ test_duration_ms_with_no_clones method method test_duration_ms_with_no_clones L178–190
+ test_duration_ms_with_tier_exact method method test_duration_ms_with_tier_exact L172–176
+ test_j_alias_duration_ms_present method method test_j_alias_duration_ms_present L167–170
+ test_json_duration_ms_is_float method method test_json_duration_ms_is_float L162–165
+ test_json_duration_ms_nonnegative method method test_json_duration_ms_nonnegative L157–160
+ test_json_has_duration_ms method method test_json_has_duration_ms L152–155
+ TestExitCode class class TestExitCode L198–243
+ test_exit_code_mirrors_process_exit method method test_exit_code_mirrors_process_exit L222–225
+ test_exit_code_zero_with_no_clones method method test_exit_code_zero_with_no_clones L227–237
+ test_exit_code_zero_with_tier_near method method test_exit_code_zero_with_tier_near L239–243
+ test_j_alias_exit_code_present method method test_j_alias_exit_code_present L217–220
+ test_json_exit_code_is_int method method test_json_exit_code_is_int L212–215
+ test_json_exit_code_zero_on_success method method test_json_exit_code_zero_on_success L206–210
+ test_json_has_exit_code method method test_json_has_exit_code L201–204
+ TestJsonAlias class class TestJsonAlias L95–141
+ test_j_alias_exits_zero method method test_j_alias_exits_zero L98–100
+ test_j_alias_has_clusters_key method method test_j_alias_has_clusters_key L106–109
+ test_j_alias_has_commit_key method method test_j_alias_has_commit_key L111–114
+ test_j_alias_same_cluster_count method method test_j_alias_same_cluster_count L125–129
+ test_j_alias_same_top_level_keys_as_json_flag method method test_j_alias_same_top_level_keys_as_json_flag L116–123
+ test_j_alias_valid_json method method test_j_alias_valid_json L102–104
+ test_j_alias_with_tier_exact method method test_j_alias_with_tier_exact L131–135
+ test_j_alias_with_tier_near method method test_j_alias_with_tier_near L137–141
+ TestPerformance class class TestPerformance L323–339
+ test_duration_ms_is_float_not_int method method test_duration_ms_is_float_not_int L336–339
+ test_j_alias_duration_under_2000ms method method test_j_alias_duration_under_2000ms L331–334
+ test_json_duration_under_2000ms method method test_json_duration_under_2000ms L326–329
+ TestTypedDicts class class TestTypedDicts L251–289
+ test_clones_output_json_exists method method test_clones_output_json_exists L254–255
+ test_cluster_dict_exists method method test_cluster_dict_exists L288–289
+ test_has_duration_ms_annotation method method test_has_duration_ms_annotation L261–263
+ test_has_exit_code_annotation method method test_has_exit_code_annotation L257–259
+ test_member_dict_exists method method test_member_dict_exists L285–286
+ test_retains_clusters_annotation method method test_retains_clusters_annotation L265–267
+ test_retains_commit_annotation method method test_retains_commit_annotation L269–271
+ test_retains_exact_clone_clusters_annotation method method test_retains_exact_clone_clusters_annotation L273–275
+ test_retains_file_hotspots_annotation method method test_retains_file_hotspots_annotation L281–283
+ test_retains_near_clone_clusters_annotation method method test_retains_near_clone_clusters_annotation L277–279
+ _env function function _env L35–36
+ _run function function _run L39–40
+ clones_repo function function clones_repo L49–87
+ CliRunner import import CliRunner L25–25
+ annotations import import annotations L17–17
+ json import import json L19–19
+ pathlib import import pathlib L20–20
+ pytest import import pytest L23–23
+ textwrap import import textwrap L21–21
+ runner variable variable runner L27–27
~ tests/test_cmd_bisect_hardening.py .py 6 symbols added, 6 symbols removed, 18 symbols modified
~ _start
− TestBisectJsonIndent class class TestBisectJsonIndent L3165–3214
− test_bad_json_is_pretty method method test_bad_json_is_pretty L3179–3185
− test_log_json_is_pretty method method test_log_json_is_pretty L3187–3193
− test_reset_json_is_pretty method method test_reset_json_is_pretty L3195–3199
− test_start_json_is_pretty method method test_start_json_is_pretty L3172–3177
− test_status_json_is_indent2 method method test_status_json_is_indent2 L2943–2951
+ TestBisectJsonCompact class class TestBisectJsonCompact L3164–3213
+ test_bad_json_is_compact method method test_bad_json_is_compact L3178–3184
+ test_log_json_is_compact method method test_log_json_is_compact L3186–3192
+ test_reset_json_is_compact method method test_reset_json_is_compact L3194–3198
+ test_start_json_is_compact method method test_start_json_is_compact L3171–3176
+ test_status_json_is_compact method method test_status_json_is_compact L2943–2950
~ tests/test_cmd_check_attr.py .py 7 symbols added, 2 symbols removed, 52 symbols modified
− test_format_error_goes_to_stderr method method test_format_error_goes_to_stderr L440–445
− test_no_traceback_on_bad_format method method test_no_traceback_on_bad_format L447–450
+ TestRegisterFlags class class TestRegisterFlags L677–695
+ _parse method method _parse L678–683
+ test_default_json_out_is_false method method test_default_json_out_is_false L685–687
+ test_j_shorthand_sets_json_out method method test_j_shorthand_sets_json_out L693–695
+ test_json_flag_sets_json_out method method test_json_flag_sets_json_out L689–691
+ test_no_traceback_on_invalid_toml method method test_no_traceback_on_invalid_toml L440–444
+ _argparse import import _argparse L674–674
~ tests/test_cmd_check_ignore.py .py 7 symbols added, 2 symbols removed, 54 symbols modified
− test_format_error_goes_to_stderr method method test_format_error_goes_to_stderr L372–377
− test_no_traceback_on_bad_format method method test_no_traceback_on_bad_format L379–382
+ TestRegisterFlags class class TestRegisterFlags L635–653
+ _parse method method _parse L636–641
+ test_default_json_out_is_false method method test_default_json_out_is_false L643–645
+ test_j_shorthand_sets_json_out method method test_j_shorthand_sets_json_out L651–653
+ test_json_flag_sets_json_out method method test_json_flag_sets_json_out L647–649
+ test_no_traceback_on_bad_toml method method test_no_traceback_on_bad_toml L372–376
+ _argparse import import _argparse L632–632
~ tests/test_cmd_check_ref_format.py .py 7 symbols added, 2 symbols removed, 66 symbols modified
− test_format_error_goes_to_stderr method method test_format_error_goes_to_stderr L409–413
− test_no_traceback_on_bad_format method method test_no_traceback_on_bad_format L415–418
+ TestRegisterFlags class class TestRegisterFlags L619–637
+ _parse method method _parse L620–625
+ test_default_json_out_is_false method method test_default_json_out_is_false L627–629
+ test_j_shorthand_sets_json_out method method test_j_shorthand_sets_json_out L635–637
+ test_json_flag_sets_json_out method method test_json_flag_sets_json_out L631–633
+ test_no_args_no_traceback method method test_no_args_no_traceback L409–412
+ _argparse import import _argparse L616–616
~ _RULES
~ tests/test_cmd_checkout_symbol.py .py 6 symbols added, 3 symbols modified
+ TestRegisterFlags class class TestRegisterFlags L890–908
+ _parse method method _parse L891–896
+ test_default_json_out_is_false method method test_default_json_out_is_false L898–900
+ test_j_shorthand_sets_json_out method method test_j_shorthand_sets_json_out L906–908
+ test_json_flag_sets_json_out method method test_json_flag_sets_json_out L902–904
+ _argparse import import _argparse L887–887
~ tests/test_cmd_clones.py .py 6 symbols added, 4 symbols modified
+ TestRegisterFlags class class TestRegisterFlags L887–905
+ _parse method method _parse L888–893
+ test_default_json_out_is_false method method test_default_json_out_is_false L895–897
+ test_j_shorthand_sets_json_out method method test_j_shorthand_sets_json_out L903–905
+ test_json_flag_sets_json_out method method test_json_flag_sets_json_out L899–901
+ _argparse import import _argparse L884–884
~ tests/test_cmd_code_check.py .py 6 symbols added
+ TestRegisterFlags class class TestRegisterFlags L706–726
+ _parse method method _parse L709–714
+ test_default_json_out_is_false method method test_default_json_out_is_false L716–718
+ test_j_shorthand_sets_json_out method method test_j_shorthand_sets_json_out L724–726
+ test_json_flag_sets_json_out method method test_json_flag_sets_json_out L720–722
+ argparse import import argparse L32–32
~ tests/test_cmd_code_query.py .py 6 symbols added
+ TestRegisterFlags class class TestRegisterFlags L1108–1128
+ _parse method method _parse L1111–1116
+ test_default_json_out_is_false method method test_default_json_out_is_false L1118–1120
+ test_j_shorthand_sets_json_out method method test_j_shorthand_sets_json_out L1126–1128
+ test_json_flag_sets_json_out method method test_json_flag_sets_json_out L1122–1124
+ argparse import import argparse L36–36
~ tests/test_cmd_coord_gc.py .py 6 symbols added, 2 symbols modified
+ TestRegisterFlags class class TestRegisterFlags L771–795
+ _make_parser method method _make_parser L774–780
+ test_json_out_default_false method method test_json_out_default_false L782–785
+ test_json_out_true_with_j_flag method method test_json_out_true_with_j_flag L792–795
+ test_json_out_true_with_json_flag method method test_json_out_true_with_json_flag L787–790
+ argparse import import argparse L47–47
~ tests/test_cmd_coord_sync.py .py 7 symbols added, 2 symbols removed, 17 symbols modified
− test_json_schema_version_is_string method method test_json_schema_version_is_string L1308–1313
− test_json_schema_version_is_string method method test_json_schema_version_is_string L991–996
+ test_json_schema_is_int method method test_json_schema_is_int L1320–1325
+ test_json_schema_is_int method method test_json_schema_is_int L1003–1008
+ TestRegisterFlags class class TestRegisterFlags L1562–1589
+ _make_parser method method _make_parser L1565–1571
+ test_json_out_default_false method method test_json_out_default_false L1576–1579
+ test_json_out_true_with_j_flag method method test_json_out_true_with_j_flag L1586–1589
+ test_json_out_true_with_json_flag method method test_json_out_true_with_json_flag L1581–1584
~ tests/test_cmd_dag.py .py 5 symbols added, 3 symbols modified
+ TestRegisterFlags class class TestRegisterFlags L1298–1322
+ _make_parser method method _make_parser L1301–1307
+ test_json_out_default_false method method test_json_out_default_false L1309–1312
+ test_json_out_true_with_j_flag method method test_json_out_true_with_j_flag L1319–1322
+ test_json_out_true_with_json_flag method method test_json_out_true_with_json_flag L1314–1317
~ tests/test_cmd_dead.py .py 6 symbols added
+ TestRegisterFlags class class TestRegisterFlags L692–716
+ _make_parser method method _make_parser L695–701
+ test_json_out_default_false method method test_json_out_default_false L703–706
+ test_json_out_true_with_j_flag method method test_json_out_true_with_j_flag L713–716
+ test_json_out_true_with_json_flag method method test_json_out_true_with_json_flag L708–711
+ argparse import import argparse L45–45
~ tests/test_cmd_domains_hardening.py .py 13 symbols added, 9 symbols modified
+ TestRegisterFlags class class TestRegisterFlags L1933–1984
+ _make_parser method method _make_parser L1936–1941
+ test_domains_j_alias_exits_zero method method test_domains_j_alias_exits_zero L1943–1945
+ test_domains_j_alias_has_domains_key method method test_domains_j_alias_has_domains_key L1951–1953
+ test_domains_j_alias_valid_json method method test_domains_j_alias_valid_json L1947–1949
+ test_domains_json_out_default_false method method test_domains_json_out_default_false L1955–1958
+ test_domains_json_out_true_with_j_flag method method test_domains_json_out_true_with_j_flag L1965–1968
+ test_domains_json_out_true_with_json_flag method method test_domains_json_out_true_with_json_flag L1960–1963
+ test_info_j_alias_exits_zero method method test_info_j_alias_exits_zero L1978–1980
+ test_info_j_alias_valid_json method method test_info_j_alias_valid_json L1982–1984
+ test_validate_j_alias_exits_zero method method test_validate_j_alias_exits_zero L1970–1972
+ test_validate_j_alias_valid_json method method test_validate_j_alias_valid_json L1974–1976
+ argparse import import argparse L38–38
~ tests/test_code_check_supercharge.py .py 54 symbols added
+ TestAnsiSanitization class class TestAnsiSanitization L301–314
+ test_j_alias_output_no_ansi method method test_j_alias_output_no_ansi L308–310
+ test_json_output_no_ansi_clean method method test_json_output_no_ansi_clean L304–306
+ test_json_output_no_ansi_violations method method test_json_output_no_ansi_violations L312–314
+ TestDurationMs class class TestDurationMs L156–189
+ test_duration_ms_with_filter method method test_duration_ms_with_filter L185–189
+ test_duration_ms_with_violations method method test_duration_ms_with_violations L179–183
+ test_j_alias_duration_ms_present method method test_j_alias_duration_ms_present L174–177
+ test_json_duration_ms_is_float method method test_json_duration_ms_is_float L169–172
+ test_json_duration_ms_nonnegative method method test_json_duration_ms_nonnegative L164–167
+ test_json_has_duration_ms method method test_json_has_duration_ms L159–162
+ TestExitCode class class TestExitCode L197–257
+ test_exit_code_mirrors_process_exit_clean method method test_exit_code_mirrors_process_exit_clean L241–244
+ test_exit_code_mirrors_process_exit_strict_violations method method test_exit_code_mirrors_process_exit_strict_violations L246–251
+ test_exit_code_not_hardcoded_zero method method test_exit_code_not_hardcoded_zero L253–257
+ test_exit_code_one_strict_with_errors method method test_exit_code_one_strict_with_errors L234–239
+ test_exit_code_zero_with_violations_no_strict method method test_exit_code_zero_with_violations_no_strict L225–232
+ test_j_alias_exit_code_present method method test_j_alias_exit_code_present L220–223
+ test_json_exit_code_is_int method method test_json_exit_code_is_int L215–218
+ test_json_exit_code_zero_clean_no_strict method method test_json_exit_code_zero_clean_no_strict L209–213
+ test_json_has_exit_code method method test_json_has_exit_code L204–207
+ TestJsonAlias class class TestJsonAlias L108–148
+ test_j_alias_exits_zero_clean method method test_j_alias_exits_zero_clean L111–113
+ test_j_alias_has_has_errors_key method method test_j_alias_has_has_errors_key L124–127
+ test_j_alias_has_violations_key method method test_j_alias_has_violations_key L119–122
+ test_j_alias_same_top_level_keys_as_json_flag method method test_j_alias_same_top_level_keys_as_json_flag L129–136
+ test_j_alias_valid_json method method test_j_alias_valid_json L115–117
+ test_j_alias_violation_count_matches method method test_j_alias_violation_count_matches L138–143
+ test_j_alias_with_strict method method test_j_alias_with_strict L145–148
+ TestPerformance class class TestPerformance L322–338
+ test_duration_ms_is_float_not_int method method test_duration_ms_is_float_not_int L335–338
+ test_j_alias_duration_under_2000ms method method test_j_alias_duration_under_2000ms L330–333
+ test_json_duration_under_2000ms method method test_json_duration_under_2000ms L325–328
+ TestTypedDicts class class TestTypedDicts L265–293
+ test_code_check_output_json_exists method method test_code_check_output_json_exists L268–269
+ test_has_duration_ms_annotation method method test_has_duration_ms_annotation L275–277
+ test_has_exit_code_annotation method method test_has_exit_code_annotation L271–273
+ test_retains_commit_id_annotation method method test_retains_commit_id_annotation L287–289
+ test_retains_has_errors_annotation method method test_retains_has_errors_annotation L283–285
+ test_retains_rules_checked_annotation method method test_retains_rules_checked_annotation L291–293
+ test_retains_violations_annotation method method test_retains_violations_annotation L279–281
+ _complex_func function function _complex_func L72–79
+ _env function function _env L41–42
+ _run function function _run L45–46
+ _stage_commit function function _stage_commit L49–53
+ clean_repo function function clean_repo L62–69
+ CliRunner import import CliRunner L31–31
+ annotations import import annotations L23–23
+ json import import json L25–25
+ pathlib import import pathlib L26–26
+ pytest import import pytest L29–29
+ textwrap import import textwrap L27–27
+ runner variable variable runner L33–33
+ violation_repo function function violation_repo L83–100
~ tests/test_code_query_supercharge.py .py 48 symbols added
+ TestAnsiSanitization class class TestAnsiSanitization L242–255
+ test_j_alias_output_no_ansi method method test_j_alias_output_no_ansi L249–251
+ test_json_output_no_ansi_no_matches method method test_json_output_no_ansi_no_matches L253–255
+ test_json_output_no_ansi_with_matches method method test_json_output_no_ansi_with_matches L245–247
+ TestDurationMs class class TestDurationMs L125–159
+ test_duration_ms_no_matches method method test_duration_ms_no_matches L148–152
+ test_duration_ms_with_since method method test_duration_ms_with_since L154–159
+ test_j_alias_duration_ms_present method method test_j_alias_duration_ms_present L143–146
+ test_json_duration_ms_is_float method method test_json_duration_ms_is_float L138–141
+ test_json_duration_ms_nonnegative method method test_json_duration_ms_nonnegative L133–136
+ test_json_has_duration_ms method method test_json_has_duration_ms L128–131
+ TestExitCode class class TestExitCode L167–206
+ test_exit_code_mirrors_process_exit method method test_exit_code_mirrors_process_exit L197–200
+ test_exit_code_zero_with_limit method method test_exit_code_zero_with_limit L202–206
+ test_j_alias_exit_code_present method method test_j_alias_exit_code_present L192–195
+ test_json_exit_code_is_int method method test_json_exit_code_is_int L187–190
+ test_json_exit_code_zero_no_matches method method test_json_exit_code_zero_no_matches L181–185
+ test_json_exit_code_zero_with_matches method method test_json_exit_code_zero_with_matches L175–179
+ test_json_has_exit_code method method test_json_has_exit_code L170–173
+ TestJsonAlias class class TestJsonAlias L73–117
+ test_j_alias_exits_zero method method test_j_alias_exits_zero L76–78
+ test_j_alias_has_results_key method method test_j_alias_has_results_key L89–92
+ test_j_alias_has_total_key method method test_j_alias_has_total_key L84–87
+ test_j_alias_no_matches_empty_results method method test_j_alias_no_matches_empty_results L108–112
+ test_j_alias_same_top_level_keys_as_json_flag method method test_j_alias_same_top_level_keys_as_json_flag L94–101
+ test_j_alias_total_matches_json_flag method method test_j_alias_total_matches_json_flag L103–106
+ test_j_alias_valid_json method method test_j_alias_valid_json L80–82
+ test_j_alias_with_limit method method test_j_alias_with_limit L114–117
+ TestPerformance class class TestPerformance L263–279
+ test_duration_ms_is_float_not_int method method test_duration_ms_is_float_not_int L276–279
+ test_j_alias_duration_under_2000ms method method test_j_alias_duration_under_2000ms L271–274
+ test_json_duration_under_2000ms method method test_json_duration_under_2000ms L266–269
+ TestTypedDicts class class TestTypedDicts L214–234
+ test_code_query_output_json_exists method method test_code_query_output_json_exists L217–218
+ test_has_duration_ms_annotation method method test_has_duration_ms_annotation L224–226
+ test_has_exit_code_annotation method method test_has_exit_code_annotation L220–222
+ test_has_results_annotation method method test_has_results_annotation L232–234
+ test_has_total_annotation method method test_has_total_annotation L228–230
+ _env function function _env L35–36
+ _run function function _run L39–40
+ _stage_commit function function _stage_commit L43–47
+ CliRunner import import CliRunner L25–25
+ annotations import import annotations L18–18
+ json import import json L20–20
+ pathlib import import pathlib L21–21
+ pytest import import pytest L23–23
+ query_repo function function query_repo L56–65
+ runner variable variable runner L27–27
~ tests/test_code_stage.py .py 10 symbols added, 6 symbols modified
+ TestRegisterFlags class class TestRegisterFlags L913–952
+ _parse_add method method _parse_add L916–921
+ _parse_reset method method _parse_reset L923–928
+ test_add_default_json_out_is_false method method test_add_default_json_out_is_false L930–932
+ test_add_j_shorthand_sets_json_out method method test_add_j_shorthand_sets_json_out L938–940
+ test_add_json_flag_sets_json_out method method test_add_json_flag_sets_json_out L934–936
+ test_reset_default_json_out_is_false method method test_reset_default_json_out_is_false L942–944
+ test_reset_j_shorthand_sets_json_out method method test_reset_j_shorthand_sets_json_out L950–952
+ test_reset_json_flag_sets_json_out method method test_reset_json_flag_sets_json_out L946–948
+ _argparse import import _argparse L910–910
~ tests/test_contract_supercharge.py .py 57 symbols added
+ TestAnsiSanitization class class TestAnsiSanitization L324–342
+ test_j_alias_output_no_ansi method method test_j_alias_output_no_ansi L331–333
+ test_json_output_no_ansi method method test_json_output_no_ansi L327–329
+ test_json_output_no_ansi_with_max_commits method method test_json_output_no_ansi_with_max_commits L335–342
+ TestDurationMs class class TestDurationMs L208–238
+ test_duration_ms_not_zero_for_real_work method method test_duration_ms_not_zero_for_real_work L234–238
+ test_duration_ms_with_max_commits_1 method method test_duration_ms_with_max_commits_1 L227–232
+ test_j_alias_duration_ms_present method method test_j_alias_duration_ms_present L223–225
+ test_json_duration_ms_is_float method method test_json_duration_ms_is_float L219–221
+ test_json_duration_ms_nonnegative method method test_json_duration_ms_nonnegative L215–217
+ test_json_has_duration_ms method method test_json_has_duration_ms L211–213
+ TestExitCode class class TestExitCode L246–280
+ test_exit_code_mirrors_process_exit method method test_exit_code_mirrors_process_exit L266–268
+ test_exit_code_not_present_in_error_path method method test_exit_code_not_present_in_error_path L275–280
+ test_exit_code_zero_with_max_commits method method test_exit_code_zero_with_max_commits L270–273
+ test_j_alias_exit_code_present method method test_j_alias_exit_code_present L262–264
+ test_json_exit_code_is_int method method test_json_exit_code_is_int L258–260
+ test_json_exit_code_zero method method test_json_exit_code_zero L253–256
+ test_json_has_exit_code method method test_json_has_exit_code L249–251
+ TestJsonAlias class class TestJsonAlias L163–200
+ test_j_alias_address_matches method method test_j_alias_address_matches L194–196
+ test_j_alias_exits_zero method method test_j_alias_exits_zero L166–168
+ test_j_alias_has_address_key method method test_j_alias_has_address_key L174–176
+ test_j_alias_has_history_key method method test_j_alias_has_history_key L198–200
+ test_j_alias_has_ops_key method method test_j_alias_has_ops_key L178–181
+ test_j_alias_same_top_level_keys_as_json_flag method method test_j_alias_same_top_level_keys_as_json_flag L183–192
+ test_j_alias_valid_json method method test_j_alias_valid_json L170–172
+ TestPerformance class class TestPerformance L350–363
+ test_duration_ms_is_float_not_int method method test_duration_ms_is_float_not_int L361–363
+ test_j_alias_duration_under_2000ms method method test_j_alias_duration_under_2000ms L357–359
+ test_json_duration_under_2000ms method method test_json_duration_under_2000ms L353–355
+ TestRegisterFlags class class TestRegisterFlags L374–394
+ _parse method method _parse L377–382
+ test_default_json_out_is_false method method test_default_json_out_is_false L384–386
+ test_j_shorthand_sets_json_out method method test_j_shorthand_sets_json_out L392–394
+ test_json_flag_sets_json_out method method test_json_flag_sets_json_out L388–390
+ TestTypedDicts class class TestTypedDicts L288–316
+ test_contract_json_typeddict_exists method method test_contract_json_typeddict_exists L291–292
+ test_has_duration_ms_annotation method method test_has_duration_ms_annotation L298–300
+ test_has_exit_code_annotation method method test_has_exit_code_annotation L294–296
+ test_retains_address_annotation method method test_retains_address_annotation L302–304
+ test_retains_history_annotation method method test_retains_history_annotation L306–308
+ test_retains_stability_annotation method method test_retains_stability_annotation L310–312
+ test_retains_warnings_annotation method method test_retains_warnings_annotation L314–316
+ _ADDR variable variable _ADDR L32–32
+ _env function function _env L40–41
+ _run function function _run L44–45
+ contract_repo function function contract_repo L54–155
+ CliRunner import import CliRunner L28–28
+ _argparse import import _argparse L371–371
+ annotations import import annotations L19–19
+ json import import json L21–21
+ os import import os L22–22
+ pathlib import import pathlib L23–23
+ pytest import import pytest L26–26
+ textwrap import import textwrap L24–24
+ runner variable variable runner L30–30
~ tests/test_coupling_supercharge.py .py 57 symbols added
+ TestAnsiSanitization class class TestAnsiSanitization L300–315
+ test_j_alias_output_no_ansi method method test_j_alias_output_no_ansi L307–309
+ test_json_output_no_ansi method method test_json_output_no_ansi L303–305
+ test_json_output_no_ansi_with_file_filter method method test_json_output_no_ansi_with_file_filter L311–315
+ TestDurationMs class class TestDurationMs L173–206
+ test_duration_ms_on_file_not_found_path method method test_duration_ms_on_file_not_found_path L192–200
+ test_duration_ms_with_file_filter method method test_duration_ms_with_file_filter L202–206
+ test_j_alias_duration_ms_present method method test_j_alias_duration_ms_present L188–190
+ test_json_duration_ms_is_float method method test_json_duration_ms_is_float L184–186
+ test_json_duration_ms_nonnegative method method test_json_duration_ms_nonnegative L180–182
+ test_json_has_duration_ms method method test_json_has_duration_ms L176–178
+ TestExitCode class class TestExitCode L214–256
+ test_exit_code_mirrors_process_exit method method test_exit_code_mirrors_process_exit L234–236
+ test_exit_code_zero_on_file_not_found_path method method test_exit_code_zero_on_file_not_found_path L238–246
+ test_exit_code_zero_with_file_filter method method test_exit_code_zero_with_file_filter L253–256
+ test_exit_code_zero_with_filters method method test_exit_code_zero_with_filters L248–251
+ test_j_alias_exit_code_present method method test_j_alias_exit_code_present L230–232
+ test_json_exit_code_is_int method method test_json_exit_code_is_int L226–228
+ test_json_exit_code_zero method method test_json_exit_code_zero L221–224
+ test_json_has_exit_code method method test_json_has_exit_code L217–219
+ TestJsonAlias class class TestJsonAlias L118–165
+ test_j_alias_exits_zero method method test_j_alias_exits_zero L121–123
+ test_j_alias_has_commits_analysed_key method method test_j_alias_has_commits_analysed_key L133–135
+ test_j_alias_has_pairs_key method method test_j_alias_has_pairs_key L129–131
+ test_j_alias_pair_count_matches_json_flag method method test_j_alias_pair_count_matches_json_flag L148–153
+ test_j_alias_same_top_level_keys_as_json_flag method method test_j_alias_same_top_level_keys_as_json_flag L137–146
+ test_j_alias_valid_json method method test_j_alias_valid_json L125–127
+ test_j_alias_with_file_filter method method test_j_alias_with_file_filter L155–159
+ test_j_alias_with_min_filter method method test_j_alias_with_min_filter L161–165
+ TestPerformance class class TestPerformance L323–336
+ test_duration_ms_is_float_not_int method method test_duration_ms_is_float_not_int L334–336
+ test_j_alias_duration_under_2000ms method method test_j_alias_duration_under_2000ms L330–332
+ test_json_duration_under_2000ms method method test_json_duration_under_2000ms L326–328
+ TestRegisterFlags class class TestRegisterFlags L344–368
+ _make_parser method method _make_parser L347–353
+ test_json_out_default_false method method test_json_out_default_false L355–358
+ test_json_out_true_with_j_flag method method test_json_out_true_with_j_flag L365–368
+ test_json_out_true_with_json_flag method method test_json_out_true_with_json_flag L360–363
+ TestTypedDicts class class TestTypedDicts L264–292
+ test_coupling_output_json_typeddict_exists method method test_coupling_output_json_typeddict_exists L267–268
+ test_has_duration_ms_annotation method method test_has_duration_ms_annotation L274–276
+ test_has_exit_code_annotation method method test_has_exit_code_annotation L270–272
+ test_retains_commits_analysed_annotation method method test_retains_commits_analysed_annotation L282–284
+ test_retains_filters_annotation method method test_retains_filters_annotation L290–292
+ test_retains_pairs_annotation method method test_retains_pairs_annotation L278–280
+ test_retains_truncated_annotation method method test_retains_truncated_annotation L286–288
+ _env function function _env L41–42
+ _run function function _run L45–46
+ coupling_repo function function coupling_repo L55–110
+ CliRunner import import CliRunner L31–31
+ annotations import import annotations L21–21
+ argparse import import argparse L23–23
+ json import import json L25–25
+ pathlib import import pathlib L26–26
+ pytest import import pytest L29–29
+ textwrap import import textwrap L27–27
+ runner variable variable runner L33–33
~ tests/test_coverage_supercharge.py .py 58 symbols added
+ TestAnsiSanitization class class TestAnsiSanitization L288–303
+ test_j_alias_output_no_ansi method method test_j_alias_output_no_ansi L295–297
+ test_json_output_no_ansi method method test_json_output_no_ansi L291–293
+ test_json_output_no_ansi_with_exclude_dunder method method test_json_output_no_ansi_with_exclude_dunder L299–303
+ TestDurationMs class class TestDurationMs L172–202
+ test_duration_ms_with_compare method method test_duration_ms_with_compare L197–202
+ test_duration_ms_with_exclude_dunder method method test_duration_ms_with_exclude_dunder L191–195
+ test_j_alias_duration_ms_present method method test_j_alias_duration_ms_present L187–189
+ test_json_duration_ms_is_float method method test_json_duration_ms_is_float L183–185
+ test_json_duration_ms_nonnegative method method test_json_duration_ms_nonnegative L179–181
+ test_json_has_duration_ms method method test_json_has_duration_ms L175–177
+ TestExitCode class class TestExitCode L210–244
+ test_exit_code_mirrors_process_exit method method test_exit_code_mirrors_process_exit L230–232
+ test_exit_code_zero_with_compare method method test_exit_code_zero_with_compare L241–244
+ test_exit_code_zero_with_exclude_dunder method method test_exit_code_zero_with_exclude_dunder L234–239
+ test_j_alias_exit_code_present method method test_j_alias_exit_code_present L226–228
+ test_json_exit_code_is_int method method test_json_exit_code_is_int L222–224
+ test_json_exit_code_zero method method test_json_exit_code_zero L217–220
+ test_json_has_exit_code method method test_json_has_exit_code L213–215
+ TestJsonAlias class class TestJsonAlias L120–164
+ test_j_alias_address_reflected method method test_j_alias_address_reflected L162–164
+ test_j_alias_exits_zero method method test_j_alias_exits_zero L123–125
+ test_j_alias_has_methods_key method method test_j_alias_has_methods_key L131–133
+ test_j_alias_has_percent_key method method test_j_alias_has_percent_key L135–137
+ test_j_alias_method_count_matches_json_flag method method test_j_alias_method_count_matches_json_flag L150–155
+ test_j_alias_same_top_level_keys_as_json_flag method method test_j_alias_same_top_level_keys_as_json_flag L139–148
+ test_j_alias_valid_json method method test_j_alias_valid_json L127–129
+ test_j_alias_with_exclude_dunder method method test_j_alias_with_exclude_dunder L157–160
+ TestPerformance class class TestPerformance L311–324
+ test_duration_ms_is_float_not_int method method test_duration_ms_is_float_not_int L322–324
+ test_j_alias_duration_under_2000ms method method test_j_alias_duration_under_2000ms L318–320
+ test_json_duration_under_2000ms method method test_json_duration_under_2000ms L314–316
+ TestRegisterFlags class class TestRegisterFlags L332–356
+ _make_parser method method _make_parser L335–341
+ test_json_out_default_false method method test_json_out_default_false L343–346
+ test_json_out_true_with_j_flag method method test_json_out_true_with_j_flag L353–356
+ test_json_out_true_with_json_flag method method test_json_out_true_with_json_flag L348–351
+ TestTypedDicts class class TestTypedDicts L252–280
+ test_coverage_payload_typeddict_exists method method test_coverage_payload_typeddict_exists L255–256
+ test_has_duration_ms_annotation method method test_has_duration_ms_annotation L262–264
+ test_has_exit_code_annotation method method test_has_exit_code_annotation L258–260
+ test_retains_address_annotation method method test_retains_address_annotation L266–268
+ test_retains_filters_annotation method method test_retains_filters_annotation L278–280
+ test_retains_methods_annotation method method test_retains_methods_annotation L270–272
+ test_retains_percent_annotation method method test_retains_percent_annotation L274–276
+ _ADDR variable variable _ADDR L35–35
+ _env function function _env L43–44
+ _run function function _run L47–48
+ coverage_repo function function coverage_repo L57–112
+ CliRunner import import CliRunner L31–31
+ annotations import import annotations L20–20
+ argparse import import argparse L22–22
+ json import import json L24–24
+ os import import os L25–25
+ pathlib import import pathlib L26–26
+ pytest import import pytest L29–29
+ textwrap import import textwrap L27–27
+ runner variable variable runner L33–33
~ tests/test_dead_supercharge.py .py 57 symbols added
+ TestAnsiSanitization class class TestAnsiSanitization L284–299
+ test_j_alias_output_no_ansi method method test_j_alias_output_no_ansi L291–293
+ test_json_output_no_ansi method method test_json_output_no_ansi L287–289
+ test_json_output_no_ansi_with_high_confidence method method test_json_output_no_ansi_with_high_confidence L295–299
+ TestDurationMs class class TestDurationMs L162–193
+ test_duration_ms_with_compare method method test_duration_ms_with_compare L189–193
+ test_duration_ms_with_high_confidence_filter method method test_duration_ms_with_high_confidence_filter L181–187
+ test_j_alias_duration_ms_present method method test_j_alias_duration_ms_present L177–179
+ test_json_duration_ms_is_float method method test_json_duration_ms_is_float L173–175
+ test_json_duration_ms_nonnegative method method test_json_duration_ms_nonnegative L169–171
+ test_json_has_duration_ms method method test_json_has_duration_ms L165–167
+ TestExitCode class class TestExitCode L201–240
+ test_exit_code_mirrors_process_exit method method test_exit_code_mirrors_process_exit L221–223
+ test_exit_code_zero_with_compare method method test_exit_code_zero_with_compare L232–235
+ test_exit_code_zero_with_high_confidence_filter method method test_exit_code_zero_with_high_confidence_filter L225–230
+ test_exit_code_zero_with_kind_filter method method test_exit_code_zero_with_kind_filter L237–240
+ test_j_alias_exit_code_present method method test_j_alias_exit_code_present L217–219
+ test_json_exit_code_is_int method method test_json_exit_code_is_int L213–215
+ test_json_exit_code_zero method method test_json_exit_code_zero L208–211
+ test_json_has_exit_code method method test_json_has_exit_code L204–206
+ TestJsonAlias class class TestJsonAlias L105–154
+ test_j_alias_exits_zero method method test_j_alias_exits_zero L108–110
+ test_j_alias_has_duration_ms_key method method test_j_alias_has_duration_ms_key L120–122
+ test_j_alias_has_results_key method method test_j_alias_has_results_key L116–118
+ test_j_alias_result_count_matches_json_flag method method test_j_alias_result_count_matches_json_flag L135–140
+ test_j_alias_same_top_level_keys_as_json_flag method method test_j_alias_same_top_level_keys_as_json_flag L124–133
+ test_j_alias_valid_json method method test_j_alias_valid_json L112–114
+ test_j_alias_with_high_confidence_only method method test_j_alias_with_high_confidence_only L142–147
+ test_j_alias_with_kind_filter method method test_j_alias_with_kind_filter L149–154
+ TestPerformance class class TestPerformance L307–325
+ test_duration_ms_is_float_not_int method method test_duration_ms_is_float_not_int L323–325
+ test_j_alias_duration_under_5000ms method method test_j_alias_duration_under_5000ms L319–321
+ test_json_duration_under_5000ms method method test_json_duration_under_5000ms L315–317
+ TestRegisterFlags class class TestRegisterFlags L333–357
+ _make_parser method method _make_parser L336–342
+ test_json_out_default_false method method test_json_out_default_false L344–347
+ test_json_out_true_with_j_flag method method test_json_out_true_with_j_flag L354–357
+ test_json_out_true_with_json_flag method method test_json_out_true_with_json_flag L349–352
+ TestTypedDicts class class TestTypedDicts L248–276
+ test_dead_payload_typeddict_exists method method test_dead_payload_typeddict_exists L251–252
+ test_has_duration_ms_annotation method method test_has_duration_ms_annotation L258–260
+ test_has_exit_code_annotation method method test_has_exit_code_annotation L254–256
+ test_retains_high_confidence_count_annotation method method test_retains_high_confidence_count_annotation L266–268
+ test_retains_results_annotation method method test_retains_results_annotation L262–264
+ test_retains_source_annotation method method test_retains_source_annotation L270–272
+ test_retains_total_files_scanned_annotation method method test_retains_total_files_scanned_annotation L274–276
+ _env function function _env L43–44
+ _run function function _run L47–48
+ dead_repo function function dead_repo L57–97
+ CliRunner import import CliRunner L33–33
+ annotations import import annotations L23–23
+ argparse import import argparse L25–25
+ json import import json L27–27
+ pathlib import import pathlib L28–28
+ pytest import import pytest L31–31
+ textwrap import import textwrap L29–29
+ runner variable variable runner L35–35
~ tests/test_deps_supercharge.py .py 66 symbols added
+ TestAnsiSanitization class class TestAnsiSanitization L366–379
+ test_json_output_no_ansi_file_forward method method test_json_output_no_ansi_file_forward L369–371
+ test_json_output_no_ansi_file_reverse method method test_json_output_no_ansi_file_reverse L373–375
+ test_json_output_no_ansi_symbol_forward method method test_json_output_no_ansi_symbol_forward L377–379
+ TestDurationMs class class TestDurationMs L189–248
+ test_duration_ms_file_forward method method test_duration_ms_file_forward L192–197
+ test_duration_ms_file_reverse method method test_duration_ms_file_reverse L199–204
+ test_duration_ms_symbol_forward_depth1 method method test_duration_ms_symbol_forward_depth1 L206–211
+ test_duration_ms_symbol_forward_transitive method method test_duration_ms_symbol_forward_transitive L213–220
+ test_duration_ms_symbol_reverse_depth1 method method test_duration_ms_symbol_reverse_depth1 L222–227
+ test_duration_ms_symbol_reverse_transitive method method test_duration_ms_symbol_reverse_transitive L229–236
+ test_j_alias_duration_ms_present_file_forward method method test_j_alias_duration_ms_present_file_forward L238–242
+ test_j_alias_duration_ms_present_symbol method method test_j_alias_duration_ms_present_symbol L244–248
+ TestExitCode class class TestExitCode L256–319
+ test_exit_code_file_forward method method test_exit_code_file_forward L259–264
+ test_exit_code_file_reverse method method test_exit_code_file_reverse L266–271
+ test_exit_code_is_int_file_forward method method test_exit_code_is_int_file_forward L305–307
+ test_exit_code_mirrors_process_exit method method test_exit_code_mirrors_process_exit L309–311
+ test_exit_code_symbol_forward_depth1 method method test_exit_code_symbol_forward_depth1 L273–278
+ test_exit_code_symbol_forward_transitive method method test_exit_code_symbol_forward_transitive L280–287
+ test_exit_code_symbol_reverse_depth1 method method test_exit_code_symbol_reverse_depth1 L289–294
+ test_exit_code_symbol_reverse_transitive method method test_exit_code_symbol_reverse_transitive L296–303
+ test_j_alias_exit_code_present_file method method test_j_alias_exit_code_present_file L313–315
+ test_j_alias_exit_code_present_symbol method method test_j_alias_exit_code_present_symbol L317–319
+ TestJsonAlias class class TestJsonAlias L126–181
+ test_j_alias_exits_zero_file_forward method method test_j_alias_exits_zero_file_forward L129–131
+ test_j_alias_exits_zero_file_reverse method method test_j_alias_exits_zero_file_reverse L141–143
+ test_j_alias_exits_zero_symbol_forward method method test_j_alias_exits_zero_symbol_forward L149–151
+ test_j_alias_exits_zero_symbol_transitive method method test_j_alias_exits_zero_symbol_transitive L157–159
+ test_j_alias_has_by_depth_key method method test_j_alias_has_by_depth_key L161–163
+ test_j_alias_has_calls_key method method test_j_alias_has_calls_key L153–155
+ test_j_alias_has_imported_by_key method method test_j_alias_has_imported_by_key L145–147
+ test_j_alias_has_imports_key method method test_j_alias_has_imports_key L137–139
+ test_j_alias_same_imports_list_file_forward method method test_j_alias_same_imports_list_file_forward L176–181
+ test_j_alias_same_top_level_keys_file_forward method method test_j_alias_same_top_level_keys_file_forward L165–174
+ test_j_alias_valid_json_file_forward method method test_j_alias_valid_json_file_forward L133–135
+ TestPerformance class class TestPerformance L387–402
+ test_duration_ms_is_float_not_int method method test_duration_ms_is_float_not_int L400–402
+ test_json_duration_under_2000ms_file_forward method method test_json_duration_under_2000ms_file_forward L390–394
+ test_json_duration_under_2000ms_symbol method method test_json_duration_under_2000ms_symbol L396–398
+ TestRegisterFlags class class TestRegisterFlags L410–434
+ _make_parser method method _make_parser L413–419
+ test_json_out_default_false method method test_json_out_default_false L421–424
+ test_json_out_true_with_j_flag method method test_json_out_true_with_j_flag L431–434
+ test_json_out_true_with_json_flag method method test_json_out_true_with_json_flag L426–429
+ TestTypedDicts class class TestTypedDicts L327–358
+ test_deps_file_json_typeddict_exists method method test_deps_file_json_typeddict_exists L330–331
+ test_deps_symbol_json_typeddict_exists method method test_deps_symbol_json_typeddict_exists L333–334
+ test_file_json_has_duration_ms_annotation method method test_file_json_has_duration_ms_annotation L340–342
+ test_file_json_has_exit_code_annotation method method test_file_json_has_exit_code_annotation L336–338
+ test_file_json_retains_path_annotation method method test_file_json_retains_path_annotation L352–354
+ test_symbol_json_has_duration_ms_annotation method method test_symbol_json_has_duration_ms_annotation L348–350
+ test_symbol_json_has_exit_code_annotation method method test_symbol_json_has_exit_code_annotation L344–346
+ test_symbol_json_retains_address_annotation method method test_symbol_json_retains_address_annotation L356–358
+ _SYMBOL variable variable _SYMBOL L42–42
+ _env function function _env L50–51
+ _run function function _run L54–55
+ deps_repo function function deps_repo L64–118
+ CliRunner import import CliRunner L38–38
+ annotations import import annotations L29–29
+ argparse import import argparse L31–31
+ json import import json L32–32
+ pathlib import import pathlib L33–33
+ pytest import import pytest L36–36
+ textwrap import import textwrap L34–34
+ runner variable variable runner L40–40
+ TestAnsiSanitization class class TestAnsiSanitization L283–298
+ test_j_alias_output_no_ansi method method test_j_alias_output_no_ansi L290–292
+ test_json_output_no_ansi method method test_json_output_no_ansi L286–288
+ test_json_output_no_ansi_with_kind_filter method method test_json_output_no_ansi_with_kind_filter L294–298
+ TestDurationMs class class TestDurationMs L164–193
+ test_duration_ms_with_kind_filter method method test_duration_ms_with_kind_filter L183–187
+ test_duration_ms_with_max_filter method method test_duration_ms_with_max_filter L189–193
+ test_j_alias_duration_ms_present method method test_j_alias_duration_ms_present L179–181
+ test_json_duration_ms_is_float method method test_json_duration_ms_is_float L175–177
+ test_json_duration_ms_nonnegative method method test_json_duration_ms_nonnegative L171–173
+ test_json_has_duration_ms method method test_json_has_duration_ms L167–169
+ TestExitCode class class TestExitCode L201–239
+ test_exit_code_mirrors_process_exit method method test_exit_code_mirrors_process_exit L221–223
+ test_exit_code_zero_with_from_to method method test_exit_code_zero_with_from_to L235–239
+ test_exit_code_zero_with_kind_filter method method test_exit_code_zero_with_kind_filter L225–228
+ test_exit_code_zero_with_max_filter method method test_exit_code_zero_with_max_filter L230–233
+ test_j_alias_exit_code_present method method test_j_alias_exit_code_present L217–219
+ test_json_exit_code_is_int method method test_json_exit_code_is_int L213–215
+ test_json_exit_code_zero method method test_json_exit_code_zero L208–211
+ test_json_has_exit_code method method test_json_has_exit_code L204–206
+ TestJsonAlias class class TestJsonAlias L105–156
+ test_j_alias_event_count_matches_json_flag method method test_j_alias_event_count_matches_json_flag L139–144
+ test_j_alias_exits_zero method method test_j_alias_exits_zero L108–110
+ test_j_alias_has_commits_scanned_key method method test_j_alias_has_commits_scanned_key L120–122
+ test_j_alias_has_events_key method method test_j_alias_has_events_key L116–118
+ test_j_alias_has_total_key method method test_j_alias_has_total_key L124–126
+ test_j_alias_same_top_level_keys_as_json_flag method method test_j_alias_same_top_level_keys_as_json_flag L128–137
+ test_j_alias_valid_json method method test_j_alias_valid_json L112–114
+ test_j_alias_with_kind_filter method method test_j_alias_with_kind_filter L146–151
+ test_j_alias_with_max_filter method method test_j_alias_with_max_filter L153–156
+ TestPerformance class class TestPerformance L306–319
+ test_duration_ms_is_float_not_int method method test_duration_ms_is_float_not_int L317–319
+ test_j_alias_duration_under_2000ms method method test_j_alias_duration_under_2000ms L313–315
+ test_json_duration_under_2000ms method method test_json_duration_under_2000ms L309–311
+ TestRegisterFlags class class TestRegisterFlags L327–351
+ _make_parser method method _make_parser L330–336
+ test_json_out_default_false method method test_json_out_default_false L338–341
+ test_json_out_true_with_j_flag method method test_json_out_true_with_j_flag L348–351
+ test_json_out_true_with_json_flag method method test_json_out_true_with_json_flag L343–346
+ TestTypedDicts class class TestTypedDicts L247–275
+ test_has_duration_ms_annotation method method test_has_duration_ms_annotation L257–259
+ test_has_exit_code_annotation method method test_has_exit_code_annotation L253–255
+ test_refactor_output_json_typeddict_exists method method test_refactor_output_json_typeddict_exists L250–251
+ test_retains_commits_scanned_annotation method method test_retains_commits_scanned_annotation L269–271
+ test_retains_events_annotation method method test_retains_events_annotation L265–267
+ test_retains_schema_annotation method method test_retains_schema_annotation L261–263
+ test_retains_truncated_annotation method method test_retains_truncated_annotation L273–275
+ _env function function _env L41–42
+ _run function function _run L45–46
+ CliRunner import import CliRunner L31–31
+ annotations import import annotations L21–21
+ argparse import import argparse L23–23
+ json import import json L25–25
+ pathlib import import pathlib L26–26
+ pytest import import pytest L29–29
+ textwrap import import textwrap L27–27
+ refactor_repo function function refactor_repo L55–97
+ runner variable variable runner L33–33
~ tests/test_docs_supercharge.py .py 63 symbols added
+ TestAnsiSanitization class class TestAnsiSanitization L315–328
+ test_json_output_no_ansi_ci method method test_json_output_no_ansi_ci L326–328
+ test_json_output_no_ansi_diff method method test_json_output_no_ansi_diff L322–324
+ test_json_output_no_ansi_history method method test_json_output_no_ansi_history L318–320
+ TestDurationMs class class TestDurationMs L161–197
+ test_duration_ms_ci_mode method method test_duration_ms_ci_mode L178–183
+ test_duration_ms_diff_mode method method test_duration_ms_diff_mode L171–176
+ test_duration_ms_history_mode method method test_duration_ms_history_mode L164–169
+ test_duration_ms_with_missing_filter method method test_duration_ms_with_missing_filter L193–197
+ test_j_alias_duration_ms_ci method method test_j_alias_duration_ms_ci L189–191
+ test_j_alias_duration_ms_history method method test_j_alias_duration_ms_history L185–187
+ TestExitCode class class TestExitCode L205–253
+ test_exit_code_ci_is_int method method test_exit_code_ci_is_int L227–229
+ test_exit_code_ci_mode_present method method test_exit_code_ci_mode_present L222–225
+ test_exit_code_diff_mode method method test_exit_code_diff_mode L215–220
+ test_exit_code_history_mode method method test_exit_code_history_mode L208–213
+ test_exit_code_is_int_history method method test_exit_code_is_int_history L231–233
+ test_exit_code_mirrors_process_exit_diff method method test_exit_code_mirrors_process_exit_diff L241–245
+ test_exit_code_mirrors_process_exit_history method method test_exit_code_mirrors_process_exit_history L235–239
+ test_j_alias_exit_code_diff method method test_j_alias_exit_code_diff L251–253
+ test_j_alias_exit_code_history method method test_j_alias_exit_code_history L247–249
+ TestJsonAlias class class TestJsonAlias L103–153
+ test_j_alias_ci_has_exit_code method method test_j_alias_ci_has_exit_code L150–153
+ test_j_alias_exits_zero method method test_j_alias_exits_zero L106–108
+ test_j_alias_has_symbols_key method method test_j_alias_has_symbols_key L114–116
+ test_j_alias_same_top_level_keys_as_json_flag method method test_j_alias_same_top_level_keys_as_json_flag L118–127
+ test_j_alias_symbol_count_matches_json_flag method method test_j_alias_symbol_count_matches_json_flag L129–136
+ test_j_alias_valid_json method method test_j_alias_valid_json L110–112
+ test_j_alias_with_ci_flag method method test_j_alias_with_ci_flag L144–148
+ test_j_alias_with_missing_filter method method test_j_alias_with_missing_filter L138–142
+ TestPerformance class class TestPerformance L336–349
+ test_duration_ms_is_float_not_int method method test_duration_ms_is_float_not_int L347–349
+ test_duration_under_2000ms_diff method method test_duration_under_2000ms_diff L343–345
+ test_duration_under_2000ms_history method method test_duration_under_2000ms_history L339–341
+ TestRegisterFlags class class TestRegisterFlags L357–381
+ _make_parser method method _make_parser L360–366
+ test_json_out_default_false method method test_json_out_default_false L368–371
+ test_json_out_true_with_j_flag method method test_json_out_true_with_j_flag L378–381
+ test_json_out_true_with_json_flag method method test_json_out_true_with_json_flag L373–376
+ TestTypedDicts class class TestTypedDicts L261–307
+ test_changelog_json_exists method method test_changelog_json_exists L267–268
+ test_changelog_json_has_duration_ms method method test_changelog_json_has_duration_ms L285–287
+ test_changelog_json_has_exit_code method method test_changelog_json_has_exit_code L281–283
+ test_changelog_json_retains_from_ref method method test_changelog_json_retains_from_ref L301–303
+ test_doc_ci_json_exists method method test_doc_ci_json_exists L270–271
+ test_doc_ci_json_has_duration_ms method method test_doc_ci_json_has_duration_ms L293–295
+ test_doc_ci_json_has_exit_code method method test_doc_ci_json_has_exit_code L289–291
+ test_doc_ci_json_retains_passed method method test_doc_ci_json_retains_passed L305–307
+ test_history_json_has_duration_ms method method test_history_json_has_duration_ms L277–279
+ test_history_json_has_exit_code method method test_history_json_has_exit_code L273–275
+ test_history_json_retains_address method method test_history_json_retains_address L297–299
+ test_symbol_history_json_exists method method test_symbol_history_json_exists L264–265
+ _env function function _env L47–48
+ _run function function _run L51–52
+ docs_repo function function docs_repo L61–95
+ CliRunner import import CliRunner L37–37
+ annotations import import annotations L27–27
+ argparse import import argparse L29–29
+ blob_id import import blob_id L36–36
+ json import import json L31–31
+ pathlib import import pathlib L32–32
+ pytest import import pytest L34–34
+ runner variable variable runner L39–39
~ tests/test_entangle_supercharge.py .py 58 symbols added
+ TestAnsiSanitization class class TestAnsiSanitization L305–318
+ test_j_alias_output_no_ansi method method test_j_alias_output_no_ansi L312–314
+ test_json_output_no_ansi method method test_json_output_no_ansi L308–310
+ test_json_output_no_ansi_with_results method method test_json_output_no_ansi_with_results L316–318
+ TestDurationMs class class TestDurationMs L181–211
+ test_duration_ms_with_min_co_changes method method test_duration_ms_with_min_co_changes L200–204
+ test_duration_ms_with_min_rate method method test_duration_ms_with_min_rate L206–211
+ test_j_alias_duration_ms_present method method test_j_alias_duration_ms_present L196–198
+ test_json_duration_ms_is_float method method test_json_duration_ms_is_float L192–194
+ test_json_duration_ms_nonnegative method method test_json_duration_ms_nonnegative L188–190
+ test_json_has_duration_ms method method test_json_has_duration_ms L184–186
+ TestExitCode class class TestExitCode L219–261
+ test_exit_code_mirrors_process_exit method method test_exit_code_mirrors_process_exit L239–241
+ test_exit_code_zero_empty_result method method test_exit_code_zero_empty_result L255–261
+ test_exit_code_zero_with_min_co_changes method method test_exit_code_zero_with_min_co_changes L243–248
+ test_exit_code_zero_with_top_filter method method test_exit_code_zero_with_top_filter L250–253
+ test_j_alias_exit_code_present method method test_j_alias_exit_code_present L235–237
+ test_json_exit_code_is_int method method test_json_exit_code_is_int L231–233
+ test_json_exit_code_zero method method test_json_exit_code_zero L226–229
+ test_json_has_exit_code method method test_json_has_exit_code L222–224
+ TestJsonAlias class class TestJsonAlias L123–173
+ test_j_alias_exits_zero method method test_j_alias_exits_zero L126–128
+ test_j_alias_has_commits_analysed_key method method test_j_alias_has_commits_analysed_key L138–140
+ test_j_alias_has_filters_key method method test_j_alias_has_filters_key L142–144
+ test_j_alias_has_pairs_key method method test_j_alias_has_pairs_key L134–136
+ test_j_alias_pair_count_matches_json_flag method method test_j_alias_pair_count_matches_json_flag L157–162
+ test_j_alias_same_top_level_keys_as_json_flag method method test_j_alias_same_top_level_keys_as_json_flag L146–155
+ test_j_alias_valid_json method method test_j_alias_valid_json L130–132
+ test_j_alias_with_min_co_changes method method test_j_alias_with_min_co_changes L164–168
+ test_j_alias_with_top_filter method method test_j_alias_with_top_filter L170–173
+ TestPerformance class class TestPerformance L326–339
+ test_duration_ms_is_float_not_int method method test_duration_ms_is_float_not_int L337–339
+ test_j_alias_duration_under_2000ms method method test_j_alias_duration_under_2000ms L333–335
+ test_json_duration_under_2000ms method method test_json_duration_under_2000ms L329–331
+ TestRegisterFlags class class TestRegisterFlags L347–371
+ _make_parser method method _make_parser L350–356
+ test_json_out_default_false method method test_json_out_default_false L358–361
+ test_json_out_true_with_j_flag method method test_json_out_true_with_j_flag L368–371
+ test_json_out_true_with_json_flag method method test_json_out_true_with_json_flag L363–366
+ TestTypedDicts class class TestTypedDicts L269–297
+ test_entangle_output_json_typeddict_exists method method test_entangle_output_json_typeddict_exists L272–273
+ test_has_duration_ms_annotation method method test_has_duration_ms_annotation L279–281
+ test_has_exit_code_annotation method method test_has_exit_code_annotation L275–277
+ test_retains_commits_analysed_annotation method method test_retains_commits_analysed_annotation L287–289
+ test_retains_filters_annotation method method test_retains_filters_annotation L295–297
+ test_retains_pairs_annotation method method test_retains_pairs_annotation L283–285
+ test_retains_truncated_annotation method method test_retains_truncated_annotation L291–293
+ _env function function _env L40–41
+ _run function function _run L44–45
+ entangle_repo function function entangle_repo L54–115
+ CliRunner import import CliRunner L30–30
+ annotations import import annotations L20–20
+ argparse import import argparse L22–22
+ json import import json L24–24
+ pathlib import import pathlib L25–25
+ pytest import import pytest L28–28
+ textwrap import import textwrap L26–26
+ runner variable variable runner L32–32
~ tests/test_fetch_envelope.py .py 6 symbols added
+ TestRegisterFlags class class TestRegisterFlags L32–58
+ _make_parser method method _make_parser L35–41
+ test_default_is_text method method test_default_is_text L51–53
+ test_dest_is_json_out method method test_dest_is_json_out L55–58
+ test_j_alias method method test_j_alias L47–49
+ test_json_flag_long method method test_json_flag_long L43–45
~ tests/test_find_symbol_supercharge.py .py 60 symbols added
+ TestAnsiSanitization class class TestAnsiSanitization L299–312
+ test_j_alias_output_no_ansi method method test_j_alias_output_no_ansi L306–308
+ test_json_output_no_ansi method method test_json_output_no_ansi L302–304
+ test_json_output_no_ansi_with_results method method test_json_output_no_ansi_with_results L310–312
+ TestDurationMs class class TestDurationMs L171–207
+ test_duration_ms_no_results method method test_duration_ms_no_results L202–207
+ test_duration_ms_with_kind_filter method method test_duration_ms_with_kind_filter L190–194
+ test_duration_ms_with_limit method method test_duration_ms_with_limit L196–200
+ test_j_alias_duration_ms_present method method test_j_alias_duration_ms_present L186–188
+ test_json_duration_ms_is_float method method test_json_duration_ms_is_float L182–184
+ test_json_duration_ms_nonnegative method method test_json_duration_ms_nonnegative L178–180
+ test_json_has_duration_ms method method test_json_has_duration_ms L174–176
+ TestExitCode class class TestExitCode L215–255
+ test_exit_code_mirrors_process_exit method method test_exit_code_mirrors_process_exit L235–237
+ test_exit_code_zero_empty_result method method test_exit_code_zero_empty_result L239–245
+ test_exit_code_zero_with_kind_filter method method test_exit_code_zero_with_kind_filter L247–250
+ test_exit_code_zero_with_limit method method test_exit_code_zero_with_limit L252–255
+ test_j_alias_exit_code_present method method test_j_alias_exit_code_present L231–233
+ test_json_exit_code_is_int method method test_json_exit_code_is_int L227–229
+ test_json_exit_code_zero method method test_json_exit_code_zero L222–225
+ test_json_has_exit_code method method test_json_has_exit_code L218–220
+ TestJsonAlias class class TestJsonAlias L107–163
+ test_j_alias_exits_zero method method test_j_alias_exits_zero L110–112
+ test_j_alias_has_query_key method method test_j_alias_has_query_key L126–128
+ test_j_alias_has_results_key method method test_j_alias_has_results_key L118–120
+ test_j_alias_has_total_key method method test_j_alias_has_total_key L122–124
+ test_j_alias_result_count_matches_json_flag method method test_j_alias_result_count_matches_json_flag L141–146
+ test_j_alias_same_top_level_keys_as_json_flag method method test_j_alias_same_top_level_keys_as_json_flag L130–139
+ test_j_alias_valid_json method method test_j_alias_valid_json L114–116
+ test_j_alias_with_kind_filter method method test_j_alias_with_kind_filter L154–158
+ test_j_alias_with_limit method method test_j_alias_with_limit L160–163
+ test_j_alias_with_name_filter method method test_j_alias_with_name_filter L148–152
+ TestPerformance class class TestPerformance L320–333
+ test_duration_ms_is_float_not_int method method test_duration_ms_is_float_not_int L331–333
+ test_j_alias_duration_under_2000ms method method test_j_alias_duration_under_2000ms L327–329
+ test_json_duration_under_2000ms method method test_json_duration_under_2000ms L323–325
+ TestRegisterFlags class class TestRegisterFlags L341–371
+ _make_parser method method _make_parser L344–350
+ test_default_is_text method method test_default_is_text L362–365
+ test_dest_is_json_out method method test_dest_is_json_out L367–371
+ test_j_alias method method test_j_alias L357–360
+ test_json_flag_long method method test_json_flag_long L352–355
+ TestTypedDicts class class TestTypedDicts L263–291
+ test_find_symbol_output_json_typeddict_exists method method test_find_symbol_output_json_typeddict_exists L266–267
+ test_has_duration_ms_annotation method method test_has_duration_ms_annotation L273–275
+ test_has_exit_code_annotation method method test_has_exit_code_annotation L269–271
+ test_retains_branch_presence_annotation method method test_retains_branch_presence_annotation L289–291
+ test_retains_query_annotation method method test_retains_query_annotation L285–287
+ test_retains_results_annotation method method test_retains_results_annotation L277–279
+ test_retains_total_annotation method method test_retains_total_annotation L281–283
+ _env function function _env L38–39
+ _run function function _run L42–43
+ find_repo function function find_repo L52–99
+ CliRunner import import CliRunner L28–28
+ annotations import import annotations L20–20
+ json import import json L22–22
+ pathlib import import pathlib L23–23
+ pytest import import pytest L26–26
+ textwrap import import textwrap L24–24
+ runner variable variable runner L30–30
~ tests/test_forecast_envelope.py .py 6 symbols added
+ TestRegisterFlags class class TestRegisterFlags L30–56
+ _make_parser method method _make_parser L33–39
+ test_default_is_text method method test_default_is_text L49–51
+ test_dest_is_json_out method method test_dest_is_json_out L53–56
+ test_j_alias method method test_j_alias L45–47
+ test_json_flag_long method method test_json_flag_long L41–43
~ tests/test_gravity_supercharge.py .py 79 symbols added
+ TestAnsiSanitization class class TestAnsiSanitization L333–346
+ test_j_alias_output_no_ansi method method test_j_alias_output_no_ansi L340–342
+ test_json_output_no_ansi_explain method method test_json_output_no_ansi_explain L344–346
+ test_json_output_no_ansi_leaderboard method method test_json_output_no_ansi_leaderboard L336–338
+ TestDurationMs class class TestDurationMs L192–228
+ test_duration_ms_explain_mode method method test_duration_ms_explain_mode L217–223
+ test_duration_ms_with_top_filter method method test_duration_ms_with_top_filter L211–215
+ test_j_alias_duration_ms_explain method method test_j_alias_duration_ms_explain L225–228
+ test_j_alias_duration_ms_present method method test_j_alias_duration_ms_present L207–209
+ test_json_duration_ms_is_float method method test_json_duration_ms_is_float L203–205
+ test_json_duration_ms_nonnegative method method test_json_duration_ms_nonnegative L199–201
+ test_json_has_duration_ms_leaderboard method method test_json_has_duration_ms_leaderboard L195–197
+ TestExitCode class class TestExitCode L236–278
+ test_exit_code_is_int_explain method method test_exit_code_is_int_explain L270–272
+ test_exit_code_mirrors_process_exit method method test_exit_code_mirrors_process_exit L256–258
+ test_exit_code_mirrors_process_exit_explain method method test_exit_code_mirrors_process_exit_explain L274–278
+ test_j_alias_exit_code_present method method test_j_alias_exit_code_present L252–254
+ test_json_exit_code_is_int_leaderboard method method test_json_exit_code_is_int_leaderboard L248–250
+ test_json_exit_code_zero_explain method method test_json_exit_code_zero_explain L265–268
+ test_json_exit_code_zero_leaderboard method method test_json_exit_code_zero_leaderboard L243–246
+ test_json_has_exit_code_explain method method test_json_has_exit_code_explain L260–263
+ test_json_has_exit_code_leaderboard method method test_json_has_exit_code_leaderboard L239–241
+ TestExplainSchema class class TestExplainSchema L404–430
+ test_explain_address_matches_flag method method test_explain_address_matches_flag L426–430
+ test_explain_has_address method method test_explain_has_address L407–410
+ test_explain_has_depth_distribution method method test_explain_has_depth_distribution L422–424
+ test_explain_has_direct_dependents method method test_explain_has_direct_dependents L418–420
+ test_explain_has_gravity_pct method method test_explain_has_gravity_pct L412–416
+ TestJsonAlias class class TestJsonAlias L132–184
+ test_j_alias_exits_zero method method test_j_alias_exits_zero L135–137
+ test_j_alias_has_filters_key method method test_j_alias_has_filters_key L151–153
+ test_j_alias_has_ref_key method method test_j_alias_has_ref_key L147–149
+ test_j_alias_has_symbols_key method method test_j_alias_has_symbols_key L143–145
+ test_j_alias_same_top_level_keys_as_json_flag method method test_j_alias_same_top_level_keys_as_json_flag L155–164
+ test_j_alias_symbol_count_matches_json_flag method method test_j_alias_symbol_count_matches_json_flag L166–173
+ test_j_alias_valid_json method method test_j_alias_valid_json L139–141
+ test_j_alias_with_min_gravity method method test_j_alias_with_min_gravity L180–184
+ test_j_alias_with_top_filter method method test_j_alias_with_top_filter L175–178
+ TestLeaderboardSchema class class TestLeaderboardSchema L354–396
+ test_has_include_tests_key method method test_has_include_tests_key L369–371
+ test_has_ref_key method method test_has_ref_key L357–359
+ test_has_snapshot_id_key method method test_has_snapshot_id_key L361–363
+ test_has_total_production_symbols_key method method test_has_total_production_symbols_key L365–367
+ test_include_tests_is_false_by_default method method test_include_tests_is_false_by_default L373–375
+ test_symbol_entries_have_address method method test_symbol_entries_have_address L387–391
+ test_symbol_entries_have_gravity_pct method method test_symbol_entries_have_gravity_pct L381–385
+ test_symbols_is_list method method test_symbols_is_list L377–379
+ test_top_filter_bounds_symbols method method test_top_filter_bounds_symbols L393–396
+ TestPerformance class class TestPerformance L438–451
+ test_duration_ms_is_float_not_int method method test_duration_ms_is_float_not_int L449–451
+ test_explain_duration_under_5000ms method method test_explain_duration_under_5000ms L445–447
+ test_leaderboard_duration_under_5000ms method method test_leaderboard_duration_under_5000ms L441–443
+ TestRegisterFlags class class TestRegisterFlags L459–485
+ _make_parser method method _make_parser L462–468
+ test_default_is_text method method test_default_is_text L478–480
+ test_dest_is_json_out method method test_dest_is_json_out L482–485
+ test_j_alias method method test_j_alias L474–476
+ test_json_flag_long method method test_json_flag_long L470–472
+ TestTypedDicts class class TestTypedDicts L286–325
+ test_gravity_explain_json_exists method method test_gravity_explain_json_exists L308–309
+ test_gravity_explain_json_has_address method method test_gravity_explain_json_has_address L319–321
+ test_gravity_explain_json_has_duration_ms method method test_gravity_explain_json_has_duration_ms L315–317
+ test_gravity_explain_json_has_exit_code method method test_gravity_explain_json_has_exit_code L311–313
+ test_gravity_explain_json_has_gravity_pct method method test_gravity_explain_json_has_gravity_pct L323–325
+ test_json_out_has_duration_ms_annotation method method test_json_out_has_duration_ms_annotation L296–298
+ test_json_out_has_exit_code_annotation method method test_json_out_has_exit_code_annotation L292–294
+ test_json_out_retains_filters_annotation method method test_json_out_retains_filters_annotation L304–306
+ test_json_out_retains_symbols_annotation method method test_json_out_retains_symbols_annotation L300–302
+ test_json_out_typeddict_exists method method test_json_out_typeddict_exists L289–290
+ _env function function _env L45–46
+ _run function function _run L49–50
+ gravity_repo function function gravity_repo L59–124
+ CliRunner import import CliRunner L35–35
+ annotations import import annotations L27–27
+ json import import json L29–29
+ pathlib import import pathlib L30–30
+ pytest import import pytest L33–33
+ textwrap import import textwrap L31–31
+ runner variable variable runner L37–37
~ tests/test_grep_supercharge.py .py 61 symbols added
+ TestAnsiSanitization class class TestAnsiSanitization L294–307
+ test_j_alias_output_no_ansi method method test_j_alias_output_no_ansi L301–303
+ test_json_no_ansi_with_results method method test_json_no_ansi_with_results L305–307
+ test_json_output_no_ansi method method test_json_output_no_ansi L297–299
+ TestDurationMs class class TestDurationMs L162–198
+ test_duration_ms_no_results method method test_duration_ms_no_results L181–186
+ test_duration_ms_with_kind_filter method method test_duration_ms_with_kind_filter L188–192
+ test_duration_ms_with_regex method method test_duration_ms_with_regex L194–198
+ test_j_alias_duration_ms_present method method test_j_alias_duration_ms_present L177–179
+ test_json_duration_ms_is_float method method test_json_duration_ms_is_float L173–175
+ test_json_duration_ms_nonnegative method method test_json_duration_ms_nonnegative L169–171
+ test_json_has_duration_ms method method test_json_has_duration_ms L165–167
+ TestExitCode class class TestExitCode L206–246
+ test_exit_code_mirrors_process_exit method method test_exit_code_mirrors_process_exit L226–228
+ test_exit_code_zero_empty_results method method test_exit_code_zero_empty_results L230–236
+ test_exit_code_zero_with_kind_filter method method test_exit_code_zero_with_kind_filter L238–241
+ test_exit_code_zero_with_regex method method test_exit_code_zero_with_regex L243–246
+ test_j_alias_exit_code_present method method test_j_alias_exit_code_present L222–224
+ test_json_exit_code_is_int method method test_json_exit_code_is_int L218–220
+ test_json_exit_code_zero method method test_json_exit_code_zero L213–216
+ test_json_has_exit_code method method test_json_has_exit_code L209–211
+ TestJsonAlias class class TestJsonAlias L97–154
+ test_j_alias_exits_zero method method test_j_alias_exits_zero L100–102
+ test_j_alias_has_pattern_key method method test_j_alias_has_pattern_key L116–118
+ test_j_alias_has_results_key method method test_j_alias_has_results_key L108–110
+ test_j_alias_has_total_matches_key method method test_j_alias_has_total_matches_key L112–114
+ test_j_alias_match_count_matches_json_flag method method test_j_alias_match_count_matches_json_flag L131–136
+ test_j_alias_no_match_empty_results method method test_j_alias_no_match_empty_results L142–147
+ test_j_alias_pattern_echoed method method test_j_alias_pattern_echoed L138–140
+ test_j_alias_same_top_level_keys_as_json_flag method method test_j_alias_same_top_level_keys_as_json_flag L120–129
+ test_j_alias_valid_json method method test_j_alias_valid_json L104–106
+ test_j_alias_with_kind_filter method method test_j_alias_with_kind_filter L149–154
+ TestPerformance class class TestPerformance L315–328
+ test_duration_ms_is_float_not_int method method test_duration_ms_is_float_not_int L326–328
+ test_j_alias_duration_under_2000ms method method test_j_alias_duration_under_2000ms L322–324
+ test_json_duration_under_2000ms method method test_json_duration_under_2000ms L318–320
+ TestRegisterFlags class class TestRegisterFlags L336–362
+ _make_parser method method _make_parser L339–345
+ test_default_is_text method method test_default_is_text L355–357
+ test_dest_is_json_out method method test_dest_is_json_out L359–362
+ test_j_alias method method test_j_alias L351–353
+ test_json_flag_long method method test_json_flag_long L347–349
+ TestTypedDicts class class TestTypedDicts L254–286
+ test_grep_output_json_typeddict_exists method method test_grep_output_json_typeddict_exists L257–258
+ test_has_duration_ms_annotation method method test_has_duration_ms_annotation L264–266
+ test_has_exit_code_annotation method method test_has_exit_code_annotation L260–262
+ test_retains_pattern_annotation method method test_retains_pattern_annotation L276–278
+ test_retains_results_annotation method method test_retains_results_annotation L268–270
+ test_retains_source_ref_annotation method method test_retains_source_ref_annotation L280–282
+ test_retains_total_matches_annotation method method test_retains_total_matches_annotation L272–274
+ test_retains_working_tree_annotation method method test_retains_working_tree_annotation L284–286
+ _env function function _env L39–40
+ _run function function _run L43–44
+ grep_repo function function grep_repo L53–89
+ CliRunner import import CliRunner L29–29
+ annotations import import annotations L21–21
+ json import import json L23–23
+ pathlib import import pathlib L24–24
+ pytest import import pytest L27–27
+ textwrap import import textwrap L25–25
+ runner variable variable runner L31–31
~ tests/test_harmony_envelope.py .py 8 symbols added
+ TestRegisterFlags class class TestRegisterFlags L50–84
+ _make_parser method method _make_parser L53–59
+ test_audit_j_alias method method test_audit_j_alias L77–79
+ test_dest_is_json_out method method test_dest_is_json_out L81–84
+ test_gc_j_alias method method test_gc_j_alias L73–75
+ test_list_default_is_text method method test_list_default_is_text L69–71
+ test_list_j_alias method method test_list_j_alias L65–67
+ test_list_json_flag_long method method test_list_json_flag_long L61–63
~ tests/test_hotspots_supercharge.py .py 74 symbols added
+ TestAnsiSanitization class class TestAnsiSanitization L331–344
+ test_j_alias_output_no_ansi method method test_j_alias_output_no_ansi L338–340
+ test_json_no_ansi_with_results method method test_json_no_ansi_with_results L342–344
+ test_json_output_no_ansi method method test_json_output_no_ansi L334–336
+ TestDurationMs class class TestDurationMs L196–231
+ test_duration_ms_with_kind_filter method method test_duration_ms_with_kind_filter L221–225
+ test_duration_ms_with_min_filter method method test_duration_ms_with_min_filter L215–219
+ test_duration_ms_with_top_filter method method test_duration_ms_with_top_filter L227–231
+ test_j_alias_duration_ms_present method method test_j_alias_duration_ms_present L211–213
+ test_json_duration_ms_is_float method method test_json_duration_ms_is_float L207–209
+ test_json_duration_ms_nonnegative method method test_json_duration_ms_nonnegative L203–205
+ test_json_has_duration_ms method method test_json_has_duration_ms L199–201
+ TestExitCode class class TestExitCode L239–279
+ test_exit_code_mirrors_process_exit method method test_exit_code_mirrors_process_exit L259–261
+ test_exit_code_zero_with_kind_filter method method test_exit_code_zero_with_kind_filter L271–274
+ test_exit_code_zero_with_min_filter method method test_exit_code_zero_with_min_filter L263–269
+ test_exit_code_zero_with_top_filter method method test_exit_code_zero_with_top_filter L276–279
+ test_j_alias_exit_code_present method method test_j_alias_exit_code_present L255–257
+ test_json_exit_code_is_int method method test_json_exit_code_is_int L251–253
+ test_json_exit_code_zero method method test_json_exit_code_zero L246–249
+ test_json_has_exit_code method method test_json_has_exit_code L242–244
+ TestJsonAlias class class TestJsonAlias L136–188
+ test_j_alias_exits_zero method method test_j_alias_exits_zero L139–141
+ test_j_alias_has_commits_analysed_key method method test_j_alias_has_commits_analysed_key L151–153
+ test_j_alias_has_filters_key method method test_j_alias_has_filters_key L155–157
+ test_j_alias_has_hotspots_key method method test_j_alias_has_hotspots_key L147–149
+ test_j_alias_hotspot_count_matches_json_flag method method test_j_alias_hotspot_count_matches_json_flag L170–177
+ test_j_alias_same_top_level_keys_as_json_flag method method test_j_alias_same_top_level_keys_as_json_flag L159–168
+ test_j_alias_valid_json method method test_j_alias_valid_json L143–145
+ test_j_alias_with_kind_filter method method test_j_alias_with_kind_filter L184–188
+ test_j_alias_with_top_filter method method test_j_alias_with_top_filter L179–182
+ TestPerformance class class TestPerformance L417–430
+ test_duration_ms_is_float_not_int method method test_duration_ms_is_float_not_int L428–430
+ test_j_alias_duration_under_2000ms method method test_j_alias_duration_under_2000ms L424–426
+ test_json_duration_under_2000ms method method test_json_duration_under_2000ms L420–422
+ TestRegisterFlags class class TestRegisterFlags L438–464
+ _make_parser method method _make_parser L441–447
+ test_default_is_text method method test_default_is_text L457–459
+ test_dest_is_json_out method method test_dest_is_json_out L461–464
+ test_j_alias method method test_j_alias L453–455
+ test_json_flag_long method method test_json_flag_long L449–451
+ TestSchema class class TestSchema L352–409
+ test_commits_analysed_positive method method test_commits_analysed_positive L371–373
+ test_filters_has_include_imports method method test_filters_has_include_imports L398–401
+ test_filters_has_kind method method test_filters_has_kind L388–391
+ test_filters_has_min_changes method method test_filters_has_min_changes L393–396
+ test_has_from_ref method method test_has_from_ref L355–357
+ test_has_to_ref method method test_has_to_ref L359–361
+ test_has_truncated method method test_has_truncated L363–365
+ test_hotspot_items_have_address method method test_hotspot_items_have_address L375–379
+ test_hotspot_items_have_changes method method test_hotspot_items_have_changes L381–386
+ test_min_filter_removes_low_churn method method test_min_filter_removes_low_churn L407–409
+ test_top_bounds_hotspot_count method method test_top_bounds_hotspot_count L403–405
+ test_truncated_is_bool method method test_truncated_is_bool L367–369
+ TestTypedDicts class class TestTypedDicts L287–323
+ test_has_duration_ms_annotation method method test_has_duration_ms_annotation L297–299
+ test_has_exit_code_annotation method method test_has_exit_code_annotation L293–295
+ test_hotspots_output_json_typeddict_exists method method test_hotspots_output_json_typeddict_exists L290–291
+ test_retains_commits_analysed_annotation method method test_retains_commits_analysed_annotation L305–307
+ test_retains_filters_annotation method method test_retains_filters_annotation L313–315
+ test_retains_from_ref_annotation method method test_retains_from_ref_annotation L317–319
+ test_retains_hotspots_annotation method method test_retains_hotspots_annotation L301–303
+ test_retains_to_ref_annotation method method test_retains_to_ref_annotation L321–323
+ test_retains_truncated_annotation method method test_retains_truncated_annotation L309–311
+ _env function function _env L43–44
+ _run function function _run L47–48
+ hotspots_repo function function hotspots_repo L57–128
+ CliRunner import import CliRunner L33–33
+ annotations import import annotations L25–25
+ json import import json L27–27
+ pathlib import import pathlib L28–28
+ pytest import import pytest L31–31
+ textwrap import import textwrap L29–29
+ runner variable variable runner L35–35
~ tests/test_impact_supercharge.py .py 58 symbols added
+ TestAnsiSanitization class class TestAnsiSanitization L259–272
+ test_forward_mode_no_ansi method method test_forward_mode_no_ansi L270–272
+ test_j_alias_output_no_ansi method method test_j_alias_output_no_ansi L266–268
+ test_json_output_no_ansi method method test_json_output_no_ansi L262–264
+ TestDurationMs class class TestDurationMs L147–174
+ test_duration_ms_under_2000ms method method test_duration_ms_under_2000ms L172–174
+ test_forward_mode_duration_ms_present method method test_forward_mode_duration_ms_present L166–170
+ test_j_alias_duration_ms_present method method test_j_alias_duration_ms_present L162–164
+ test_json_duration_ms_is_float method method test_json_duration_ms_is_float L158–160
+ test_json_duration_ms_nonnegative method method test_json_duration_ms_nonnegative L154–156
+ test_json_has_duration_ms method method test_json_has_duration_ms L150–152
+ TestExitCode class class TestExitCode L182–215
+ test_exit_code_leaf_symbol method method test_exit_code_leaf_symbol L211–215
+ test_exit_code_mirrors_process_exit method method test_exit_code_mirrors_process_exit L202–204
+ test_forward_mode_exit_code_zero method method test_forward_mode_exit_code_zero L206–209
+ test_j_alias_exit_code_present method method test_j_alias_exit_code_present L198–200
+ test_json_exit_code_is_int method method test_json_exit_code_is_int L194–196
+ test_json_exit_code_zero method method test_json_exit_code_zero L189–192
+ test_json_has_exit_code method method test_json_has_exit_code L185–187
+ TestForwardMode class class TestForwardMode L280–301
+ test_forward_and_json_not_reverse method method test_forward_and_json_not_reverse L298–301
+ test_forward_has_callees_key method method test_forward_has_callees_key L283–286
+ test_forward_has_total_key method method test_forward_has_total_key L292–296
+ test_forward_mode_field_is_forward method method test_forward_mode_field_is_forward L288–290
+ TestJsonAlias class class TestJsonAlias L95–139
+ test_j_alias_address_echoed method method test_j_alias_address_echoed L127–129
+ test_j_alias_exits_zero method method test_j_alias_exits_zero L98–100
+ test_j_alias_forward_mode method method test_j_alias_forward_mode L131–135
+ test_j_alias_has_blast_radius_key method method test_j_alias_has_blast_radius_key L106–108
+ test_j_alias_has_mode_key method method test_j_alias_has_mode_key L110–112
+ test_j_alias_mode_is_reverse method method test_j_alias_mode_is_reverse L123–125
+ test_j_alias_same_keys_as_json_flag method method test_j_alias_same_keys_as_json_flag L114–121
+ test_j_alias_total_is_int method method test_j_alias_total_is_int L137–139
+ test_j_alias_valid_json method method test_j_alias_valid_json L102–104
+ TestRegisterFlags class class TestRegisterFlags L309–335
+ _make_parser method method _make_parser L312–318
+ test_default_is_text method method test_default_is_text L328–330
+ test_dest_is_json_out method method test_dest_is_json_out L332–335
+ test_j_alias method method test_j_alias L324–326
+ test_json_flag_long method method test_json_flag_long L320–322
+ TestTypedDicts class class TestTypedDicts L223–251
+ test_has_duration_ms_annotation method method test_has_duration_ms_annotation L233–235
+ test_has_exit_code_annotation method method test_has_exit_code_annotation L229–231
+ test_impact_json_typeddict_exists method method test_impact_json_typeddict_exists L226–227
+ test_retains_address_annotation method method test_retains_address_annotation L245–247
+ test_retains_blast_radius_annotation method method test_retains_blast_radius_annotation L237–239
+ test_retains_mode_annotation method method test_retains_mode_annotation L241–243
+ test_retains_total_annotation method method test_retains_total_annotation L249–251
+ _env function function _env L36–37
+ _run function function _run L40–41
+ impact_repo function function impact_repo L50–87
+ CliRunner import import CliRunner L26–26
+ annotations import import annotations L18–18
+ json import import json L20–20
+ pathlib import import pathlib L21–21
+ pytest import import pytest L24–24
+ textwrap import import textwrap L22–22
+ runner variable variable runner L28–28
~ tests/test_init_supercharge.py .py 6 symbols added, 1 symbol modified
+ TestRegisterFlags class class TestRegisterFlags L502–528
+ _make_parser method method _make_parser L505–511
+ test_default_is_text method method test_default_is_text L521–523
+ test_dest_is_json_out method method test_dest_is_json_out L525–528
+ test_j_alias method method test_j_alias L517–519
+ test_json_flag_long method method test_json_flag_long L513–515
~ tests/test_invariants_supercharge.py .py 60 symbols added
+ TestAnsiSanitization class class TestAnsiSanitization L227–236
+ test_j_alias_output_no_ansi method method test_j_alias_output_no_ansi L234–236
+ test_json_output_no_ansi method method test_json_output_no_ansi L230–232
+ TestDurationMs class class TestDurationMs L131–152
+ test_duration_ms_under_2000ms method method test_duration_ms_under_2000ms L150–152
+ test_j_alias_duration_ms_present method method test_j_alias_duration_ms_present L146–148
+ test_json_duration_ms_is_float method method test_json_duration_ms_is_float L142–144
+ test_json_duration_ms_nonnegative method method test_json_duration_ms_nonnegative L138–140
+ test_json_has_duration_ms method method test_json_has_duration_ms L134–136
+ TestEarlyExitPaths class class TestEarlyExitPaths L261–285
+ test_no_match_rule_filter_has_duration_ms method method test_no_match_rule_filter_has_duration_ms L271–276
+ test_no_match_rule_filter_has_error_field method method test_no_match_rule_filter_has_error_field L278–281
+ test_no_match_rule_filter_has_exit_code method method test_no_match_rule_filter_has_exit_code L264–269
+ test_no_match_rule_filter_no_ansi method method test_no_match_rule_filter_no_ansi L283–285
+ TestExitCode class class TestExitCode L160–182
+ test_exit_code_mirrors_process_exit method method test_exit_code_mirrors_process_exit L180–182
+ test_j_alias_exit_code_present method method test_j_alias_exit_code_present L176–178
+ test_json_exit_code_is_int method method test_json_exit_code_is_int L172–174
+ test_json_exit_code_zero_clean_repo method method test_json_exit_code_zero_clean_repo L167–170
+ test_json_has_exit_code method method test_json_has_exit_code L163–165
+ TestJsonAlias class class TestJsonAlias L85–123
+ test_j_alias_exits_zero method method test_j_alias_exits_zero L88–90
+ test_j_alias_has_errors_key method method test_j_alias_has_errors_key L100–102
+ test_j_alias_has_violations_key method method test_j_alias_has_violations_key L96–98
+ test_j_alias_rules_checked_positive method method test_j_alias_rules_checked_positive L120–123
+ test_j_alias_same_top_level_keys_as_json_flag method method test_j_alias_same_top_level_keys_as_json_flag L104–113
+ test_j_alias_valid_json method method test_j_alias_valid_json L92–94
+ test_j_alias_violations_is_list method method test_j_alias_violations_is_list L115–118
+ TestPerformance class class TestPerformance L244–253
+ test_duration_ms_is_float_not_int method method test_duration_ms_is_float_not_int L251–253
+ test_json_duration_under_2000ms method method test_json_duration_under_2000ms L247–249
+ TestRegisterFlags class class TestRegisterFlags L345–371
+ _make_parser method method _make_parser L348–354
+ test_default_is_text method method test_default_is_text L364–366
+ test_dest_is_json_out method method test_dest_is_json_out L368–371
+ test_j_alias method method test_j_alias L360–362
+ test_json_flag_long method method test_json_flag_long L356–358
+ TestRelativeRefSyntax class class TestRelativeRefSyntax L293–337
+ test_head_tilde_1_does_not_crash method method test_head_tilde_1_does_not_crash L319–322
+ test_head_tilde_1_emits_valid_json method method test_head_tilde_1_emits_valid_json L324–327
+ test_head_tilde_1_has_duration_ms method method test_head_tilde_1_has_duration_ms L333–337
+ test_head_tilde_1_has_exit_code method method test_head_tilde_1_has_exit_code L329–331
+ two_commit_repo method method two_commit_repo L297–317
+ TestTypedDicts class class TestTypedDicts L190–214
+ test_has_duration_ms_annotation method method test_has_duration_ms_annotation L200–202
+ test_has_errors_annotation method method test_has_errors_annotation L208–210
+ test_has_exit_code_annotation method method test_has_exit_code_annotation L196–198
+ test_has_violations_annotation method method test_has_violations_annotation L204–206
+ test_has_warnings_annotation method method test_has_warnings_annotation L212–214
+ test_invariants_output_json_typeddict_exists method method test_invariants_output_json_typeddict_exists L193–194
+ _env function function _env L40–41
+ _run function function _run L44–45
+ CliRunner import import CliRunner L30–30
+ annotations import import annotations L22–22
+ json import import json L24–24
+ pathlib import import pathlib L25–25
+ pytest import import pytest L28–28
+ textwrap import import textwrap L26–26
+ inv_repo function function inv_repo L54–77
+ runner variable variable runner L32–32
~ tests/test_languages_supercharge.py .py 6 symbols added, 1 symbol removed, 5 symbols modified
− TestDocstrings class class TestDocstrings L414–424
+ TestRegisterFlags class class TestRegisterFlags L450–476
+ _make_parser method method _make_parser L453–459
+ test_default_is_text method method test_default_is_text L469–471
+ test_dest_is_json_out method method test_dest_is_json_out L473–476
+ test_j_alias method method test_j_alias L465–467
+ test_json_flag_long method method test_json_flag_long L461–463
~ tests/test_lineage_supercharge.py .py 6 symbols added
+ TestRegisterFlags class class TestRegisterFlags L578–604
+ _make_parser method method _make_parser L581–587
+ test_default_is_text method method test_default_is_text L597–599
+ test_dest_is_json_out method method test_dest_is_json_out L601–604
+ test_j_alias method method test_j_alias L593–595
+ test_json_flag_long method method test_json_flag_long L589–591

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:873157cab972f740ca533d9145bbbc64484b44da79d0c18909d6e2bb51c3eb58 --body "your comment"