mirror of
https://github.com/thegeeklab/git-batch.git
synced 2024-06-01 08:00:01 +02:00
fix linting
This commit is contained in:
parent
ea430e3c1f
commit
d911d28ed9
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user