lagom.compilaton.mypyc_attr()   A
last analyzed

Complexity

Conditions 2

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 6

Importance

Changes 0
Metric Value
cc 2
eloc 2
nop 2
dl 0
loc 2
ccs 0
cts 2
cp 0
crap 6
rs 10
c 0
b 0
f 0
1 1
try:
2 1
    from mypy_extensions import mypyc_attr
3
except:
4
5
    def mypyc_attr(*attrs, **kwattrs):  # type: ignore
6
        return lambda x: x
7