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

structured_data._not_in.not_in()   A

Complexity

Conditions 2

Size

Total Lines 3
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 2
eloc 3
nop 2
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
def not_in(container, name):
2
    if name in container:
3
        raise ValueError
4