fix linting

This commit is contained in:
Robert Kaussow 2023-06-28 08:19:10 +02:00
parent ea430e3c1f
commit d911d28ed9
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -3,6 +3,7 @@
import os
from distutils.util import strtobool
from typing import ClassVar
def normalize_path(path):
@ -19,7 +20,7 @@ def to_bool(string):
class Singleton(type):
"""Meta singleton class."""
_instances = {}
_instances: ClassVar[dict] = {}
def __call__(cls, *args, **kwargs):
if cls not in cls._instances: