Passed
Push — master ( d0bccf...cb153d )
by Max
58s
created

structured_data._not_in   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A not_in() 0 3 2
1
def not_in(container, name):
2
    if name in container:
3
        raise ValueError
4