MCPcopy Index your code
hub / github.com/commitizen-tools/commitizen / _get_gpg_keyid

Function _get_gpg_keyid

tests/conftest.py:125–131  ·  view source on GitHub ↗
(signer_mail)

Source from the content-addressed store, hash-verified

123
124
125def _get_gpg_keyid(signer_mail):
126 _new_key = cmd.run(["gpg", "--list-secret-keys", signer_mail])
127 _m = re.search(
128 r"[a-zA-Z0-9 \[\]-_]*\n[ ]*([0-9A-Za-z]*)\n[\na-zA-Z0-9 \[\]-_<>@]*",
129 _new_key.out,
130 )
131 return _m.group(1) if _m else None
132
133
134@pytest.fixture

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…