repomatic.compat module

Version-dependent standard-library imports, shared by the whole package.

One home for every sys.version_info import shim, so each consumer keeps a clean import block and dropping a Python version means deleting a branch here instead of hunting copies across modules.

class repomatic.compat.StrEnum(new_class_name, /, names, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: str, ReprEnum

Enum where members are also (and must be) strings