Test Failed
Push — develop ( 0e1d46...99e650 )
by
unknown
02:11
created

glances.plugins.containers.engines   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A ContainersExtension.stop() 0 2 1
A ContainersExtension.update() 0 2 1
1
from typing import Any, Dict, Protocol, Tuple
2
3
4
class ContainersExtension(Protocol):
5
    def stop(self) -> None:
6
        raise NotImplementedError
7
8
    def update(self, all_tag) -> Tuple[Dict, list[Dict[str, Any]]]:
9
        raise NotImplementedError
10