Passed
Push — master ( 817ef7...81ab82 )
by Steve
01:43
created

lagom.interfaces   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 85.71%

Importance

Changes 0
Metric Value
wmc 1
eloc 8
dl 0
loc 11
ccs 6
cts 7
cp 0.8571
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A SpecialDepDefinition.get_instance() 0 3 1
1 1
from abc import ABC, abstractmethod
2 1
from typing import Generic, TypeVar
3
4 1
X = TypeVar("X")
5
6
7 1
class SpecialDepDefinition(ABC, Generic[X]):
8 1
    @abstractmethod
9 1
    def get_instance(self, build_func) -> X:
10
        pass
11