mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-07-06 21:33:31 +03:00
Fix Flake8
This commit is contained in:
parent
6bffd9b7b0
commit
25e5ed62a2
|
@ -2,20 +2,13 @@
|
||||||
|
|
||||||
import functools
|
import functools
|
||||||
import inspect
|
import inspect
|
||||||
import sys
|
|
||||||
import pkgutil
|
import pkgutil
|
||||||
from types import ModuleType
|
from types import ModuleType
|
||||||
from typing import Optional, Iterable, Callable, Any, Type, Dict, Generic, TypeVar
|
from typing import Optional, Iterable, Callable, Any, Type, Dict, Generic, TypeVar
|
||||||
|
|
||||||
# Spike for Python 3.6
|
|
||||||
# if sys.version_info < (3, 7):
|
|
||||||
# from typing import GenericMeta
|
|
||||||
# else:
|
|
||||||
# class GenericMeta(type):
|
|
||||||
# ...
|
|
||||||
|
|
||||||
from . import providers
|
from . import providers
|
||||||
|
|
||||||
|
|
||||||
AnyContainer = Any
|
AnyContainer = Any
|
||||||
T = TypeVar('T')
|
T = TypeVar('T')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user