typing: remove unused DependencyType

pull/8859/head
Daniel Mensinger 3 years ago
parent 15b69d0421
commit a8cd45d3ab
  1. 2
      mesonbuild/dependencies/__init__.py
  2. 2
      mesonbuild/dependencies/base.py

@ -216,7 +216,7 @@ this approach, and no new dependencies should do this.
# of:
# - An ExternalDependency subclass
# - A DependencyFactory object
# - A callable with a signature of (Environment, MachineChoice, Dict[str, Any]) -> List[Callable[[], DependencyType]]
# - A callable with a signature of (Environment, MachineChoice, Dict[str, Any]) -> List[Callable[[], ExternalDependency]]
packages.update({
# From dev:
'gtest': gtest_factory,

@ -30,7 +30,7 @@ if T.TYPE_CHECKING:
from ..compilers.compilers import Compiler
from ..environment import Environment
from ..build import BuildTarget
DependencyType = T.TypeVar('DependencyType', bound='Dependency')
from ..mesonlib import FileOrString
class DependencyException(MesonException):

Loading…
Cancel
Save