From 21a02197d73f263ae222f2ccc49248d8617e2d7d Mon Sep 17 00:00:00 2001 From: Matthias Baumgartner Date: Sun, 18 Dec 2022 13:40:49 +0100 Subject: project cosmetics --- bsfs/utils/uuid.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bsfs') diff --git a/bsfs/utils/uuid.py b/bsfs/utils/uuid.py index 7c39128..6366b18 100644 --- a/bsfs/utils/uuid.py +++ b/bsfs/utils/uuid.py @@ -27,7 +27,7 @@ __all__: typing.Sequence[str] = [ ## code ## -class UUID(abc.Iterator, abc.Callable): +class UUID(abc.Iterator, abc.Callable): # type: ignore [misc] # abc.Callable "is an invalid base class" """Generate 256-bit universally unique IDs. This is a 'best-effort' kind of implementation that tries to ensure global @@ -69,7 +69,7 @@ class UUID(abc.Iterator, abc.Callable): # initialize random component random.seed(seed) - def __call__(self, content: typing.Optional[str] = None) -> str: + def __call__(self, content: typing.Optional[str] = None) -> str: # pylint: disable=arguments-differ """Return a globally unique ID.""" # content component content = str(content) if content is not None else '' @@ -93,7 +93,7 @@ class UUID(abc.Iterator, abc.Callable): return self() -class UCID(abc.Callable): +class UCID(): """Generate 256-bit content IDs. Effectively computes a cryptographic hash over the content. -- cgit v1.2.3