Coverage report: 86%

Files Functions Classes

coverage.py v7.13.5, created at 2026-04-16 17:56 +0000

File function   statements missing excluded   coverage
src / gh_secrets_and_vars_async / __init__.py (no function)   3 0 0   100%
src / gh_secrets_and_vars_async / chezmoi_cmd.py _run_chezmoi   12 1 0   92%
src / gh_secrets_and_vars_async / chezmoi_cmd.py _build_commit_message   6 0 0   100%
src / gh_secrets_and_vars_async / chezmoi_cmd.py chezmoi_command   28 0 0   100%
src / gh_secrets_and_vars_async / chezmoi_cmd.py (no function)   18 0 0   100%
src / gh_secrets_and_vars_async / cli.py main   0 0 0   100%
src / gh_secrets_and_vars_async / cli.py _register_subcommands   10 0 0   100%
src / gh_secrets_and_vars_async / cli.py (no function)   7 0 0   100%
src / gh_secrets_and_vars_async / common.py configure_logging   3 1 0   67%
src / gh_secrets_and_vars_async / common.py _load_dotenv_values   2 0 0   100%
src / gh_secrets_and_vars_async / common.py load_env_config   5 0 0   100%
src / gh_secrets_and_vars_async / common.py _get_gh_cli_token   5 0 0   100%
src / gh_secrets_and_vars_async / common.py _resolve_token   22 2 0   91%
src / gh_secrets_and_vars_async / common.py get_github_repo   10 9 0   10%
src / gh_secrets_and_vars_async / common.py get_github_client   3 3 0   0%
src / gh_secrets_and_vars_async / common.py (no function)   15 0 0   100%
src / gh_secrets_and_vars_async / config.py get_auto_merge_status   1 0 0   100%
src / gh_secrets_and_vars_async / config.py has_dev_branch   5 0 0   100%
src / gh_secrets_and_vars_async / config.py set_auto_merge   10 0 0   100%
src / gh_secrets_and_vars_async / config.py set_repo_settings   7 0 0   100%
src / gh_secrets_and_vars_async / config.py display_repo_settings   6 0 0   100%
src / gh_secrets_and_vars_async / config.py config_command   10 0 0   100%
src / gh_secrets_and_vars_async / config.py (no function)   17 0 0   100%
src / gh_secrets_and_vars_async / init_cmd.py ensure_env_file   24 0 0   100%
src / gh_secrets_and_vars_async / init_cmd.py init_command   29 2 0   93%
src / gh_secrets_and_vars_async / init_cmd.py (no function)   16 0 0   100%
src / gh_secrets_and_vars_async / push.py push_command   9 5 0   44%
src / gh_secrets_and_vars_async / push.py perform_update   32 9 0   72%
src / gh_secrets_and_vars_async / push.py create_or_update_github_secrets   18 18 0   0%
src / gh_secrets_and_vars_async / push.py create_or_update_github_variables   19 19 0   0%
src / gh_secrets_and_vars_async / push.py create_or_update_github_variables.delete_then_create_variable   2 2 0   0%
src / gh_secrets_and_vars_async / push.py (no function)   17 0 0   100%
src / gh_secrets_and_vars_async / rulesets.py get_rulesets   6 0 0   100%
src / gh_secrets_and_vars_async / rulesets.py validate_ruleset_spec   14 0 0   100%
src / gh_secrets_and_vars_async / rulesets.py _is_safe_to_mutate_ruleset   6 0 0   100%
src / gh_secrets_and_vars_async / rulesets.py find_replaceable_ruleset   7 0 0   100%
src / gh_secrets_and_vars_async / rulesets.py find_deletable_ruleset   12 0 0   100%
src / gh_secrets_and_vars_async / rulesets.py _canonical_ruleset   4 0 0   100%
src / gh_secrets_and_vars_async / rulesets.py _canonical_ruleset._rule_sort_key   1 0 0   100%
src / gh_secrets_and_vars_async / rulesets.py _canonical_ruleset._actor_sort_key   1 0 0   100%
src / gh_secrets_and_vars_async / rulesets.py _canonical_ruleset._normalize_rule   7 0 0   100%
src / gh_secrets_and_vars_async / rulesets.py rulesets_match   1 0 0   100%
src / gh_secrets_and_vars_async / rulesets.py create_ruleset   8 0 0   100%
src / gh_secrets_and_vars_async / rulesets.py apply_ruleset_spec   14 0 0   100%
src / gh_secrets_and_vars_async / rulesets.py display_rulesets   26 0 0   100%
src / gh_secrets_and_vars_async / rulesets.py rulesets_command   0 0 0   100%
src / gh_secrets_and_vars_async / rulesets.py view_cmd   7 0 0   100%
src / gh_secrets_and_vars_async / rulesets.py apply_cmd   22 8 0   64%
src / gh_secrets_and_vars_async / rulesets.py delete_cmd   23 2 0   91%
src / gh_secrets_and_vars_async / rulesets.py (no function)   34 0 0   100%
src / gh_secrets_and_vars_async / status.py _get_repo_attr   5 2 0   60%
src / gh_secrets_and_vars_async / status.py check_auto_merge   3 0 0   100%
src / gh_secrets_and_vars_async / status.py check_repo_settings   10 1 0   90%
src / gh_secrets_and_vars_async / status.py check_pipeline_file   3 0 0   100%
src / gh_secrets_and_vars_async / status.py status_command   19 1 0   95%
src / gh_secrets_and_vars_async / status.py (no function)   15 0 0   100%
Total     619 85 0   86%

No items found using the specified filter.