MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / _should_continue

Function _should_continue

diffusers/utils/check_copies.py:29–30  ·  view source on GitHub ↗
(line, indent)

Source from the content-addressed store, hash-verified

27
28
29def _should_continue(line, indent):
30 return line.startswith(indent) or len(line) <= 1 or re.search(r"^\s*\)(\s*->.*:|:)\s*$", line) is not None
31
32
33def find_code_in_diffusers(object_name):

Callers 2

find_code_in_diffusersFunction · 0.85
is_copy_consistentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected