File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ exclude_patterns = [
22
22
" .coveralls.yml" ,
23
23
" codecov_env" ,
24
24
" *,cover" ,
25
- " .hypothesis/"
25
+ " .hypothesis/" ,
26
+ " docs/"
26
27
]
27
28
28
29
[[analyzers ]]
@@ -39,4 +40,4 @@ dependency_file_paths = [
39
40
40
41
[[analyzers ]]
41
42
name = " test-coverage"
42
- enabled = true
43
+ enabled = true
Original file line number Diff line number Diff line change @@ -99,9 +99,8 @@ def parseArgs(arguments=None):
99
99
100
100
def useTool (tool , * arguments ):
101
101
"""Handler for launching the functions."""
102
- if (tool is not None ) and (tool in TASK_OPTIONS . keys () ):
102
+ if (tool is not None ) and (tool in TASK_OPTIONS ):
103
103
try :
104
- # print(str("launching: " + tool))
105
104
TASK_OPTIONS [tool ](arguments )
106
105
except Exception :
107
106
w = str ("WARNING - An error occured while" )
@@ -123,13 +122,13 @@ def main(*argv):
123
122
w += str ("handling the arguments." )
124
123
w += str (" Cascading failure." )
125
124
print (w )
126
- exit (2 )
125
+ sys . exit (2 )
127
126
except Exception :
128
127
e = str ("CRITICAL - An error occured while handling" )
129
128
e += str ("the cascading failure." )
130
129
print (e )
131
- exit (3 )
132
- exit (0 )
130
+ sys . exit (3 )
131
+ sys . exit (0 )
133
132
134
133
135
134
if __name__ in '__main__' :
Original file line number Diff line number Diff line change @@ -268,5 +268,5 @@ def main(*argv): # pragma: no cover
268
268
try :
269
269
exitcode = main (sys .argv [1 :])
270
270
finally :
271
- exit (exitcode )
271
+ sys . exit (exitcode )
272
272
You can’t perform that action at this time.
0 commit comments