keys.make_key_for_group: use str.format instead of %
keys.make_groups: add __qualname__