Passed
Push — develop ( 4c6d50...c281b5 )
by Plexxi
03:30
created

PrintConfigAction   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 4 1
1
from pprint import pprint
2
3
from st2actions.runners.pythonrunner import Action
4
5
6
class PrintConfigAction(Action):
7
    def run(self):
8
        print('=========')
9
        pprint(self.config)
10
        print('=========')
11