mirror of
https://github.com/clearml/clearml
synced 2025-06-26 18:16:07 +00:00
PEP8
This commit is contained in:
parent
bb4981416c
commit
9db8656cd1
@ -3745,7 +3745,7 @@ class PipelineDecorator(PipelineController):
|
|||||||
def sanitize(function_source):
|
def sanitize(function_source):
|
||||||
matched = re.match(r"[\s]*@[\w]*.component[\s\\]*\(", function_source)
|
matched = re.match(r"[\s]*@[\w]*.component[\s\\]*\(", function_source)
|
||||||
if matched:
|
if matched:
|
||||||
function_source = function_source[matched.span()[1] :]
|
function_source = function_source[matched.span()[1]:]
|
||||||
# find the last ")"
|
# find the last ")"
|
||||||
open_parenthesis = 0
|
open_parenthesis = 0
|
||||||
last_index = -1
|
last_index = -1
|
||||||
|
Loading…
Reference in New Issue
Block a user