Test Failed
Pull Request — master (#777)
by
unknown
03:45
created

MySafeLoader.__init__()   A

Complexity

Conditions 1

Size

Total Lines 7
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 7
nop 2
dl 0
loc 7
rs 10
c 0
b 0
f 0
1
from yaml.reader import *
2
from yaml.scanner import *
3
from yaml.parser import *
4
from yaml.composer import *
5
from yaml.resolver import *
6
7
from savu.plugins.loaders.utils.my_safe_constructor import MySafeConstructor
8
9
class MySafeLoader(Reader, Scanner, Parser, Composer, MySafeConstructor, Resolver):
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable Scanner does not seem to be defined.
Loading history...
Comprehensibility Best Practice introduced by
The variable Resolver does not seem to be defined.
Loading history...
Comprehensibility Best Practice introduced by
The variable Parser does not seem to be defined.
Loading history...
Comprehensibility Best Practice introduced by
The variable Composer does not seem to be defined.
Loading history...
Comprehensibility Best Practice introduced by
The variable Reader does not seem to be defined.
Loading history...
10
11
    def __init__(self, stream):
12
        Reader.__init__(self, stream)
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable Reader does not seem to be defined.
Loading history...
13
        Scanner.__init__(self)
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable Scanner does not seem to be defined.
Loading history...
14
        Parser.__init__(self)
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable Parser does not seem to be defined.
Loading history...
15
        Composer.__init__(self)
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable Composer does not seem to be defined.
Loading history...
16
        MySafeConstructor.__init__(self)
17
        Resolver.__init__(self)
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable Resolver does not seem to be defined.
Loading history...