git_well.git_autoconf_gpgsign module

class git_well.git_autoconf_gpgsign.GitAutoconfGpgsignCLI(*args: Any, **kwargs: Any)[source]

Bases: DataConfig

Valid options: []

Parameters:
  • *args – positional arguments for this data config

  • **kwargs – keyword arguments for this data config

classmethod main(argv: list[str] | str | bool | None = True, **kwargs: Any) None[source]

Example

>>> # xdoctest: +SKIP
>>> from git_well.git_autoconf_gpgsign import *  # NOQA
>>> argv = 0
>>> kwargs = dict()
>>> cls = GitAutoconfGpgsignCLI
>>> cls.main(argv=argv, **kwargs)
default = {'email': <Value(None)>, 'remote': <Value(None)>, 'repo_dpath': <Value('.')>}
git_well.git_autoconf_gpgsign._rich_print_records(records, title=None)[source]

Print a sequence of record dictionaries as a Rich table.

This is intentionally small and local because it is only used for a debug-only display path.

git_well.git_autoconf_gpgsign.lookup_gpg_keyinfos(identifier, verbose=0, capabilities=None, allow_subkey=True, allow_mainkey=True, full=True, filter_expired=True, mintrust=None)[source]

Creates a table of information about GPG key candidates that match a query.

git_well.git_autoconf_gpgsign.gpg_entries(identifier=None, verbose=0)[source]

References

# Format of the colon listings https://github.com/gpg/gnupg/blob/master/doc/DETAILS

git_well.git_autoconf_gpgsign.main(argv: list[str] | str | bool | None = True, **kwargs: Any) None

Example

>>> # xdoctest: +SKIP
>>> from git_well.git_autoconf_gpgsign import *  # NOQA
>>> argv = 0
>>> kwargs = dict()
>>> cls = GitAutoconfGpgsignCLI
>>> cls.main(argv=argv, **kwargs)