pipm/file_utils.py
def parse_comes_from(comes_from, env):
    """
        parse comesfrom if valid otherwise return the filename for the environment
    Args:
        comes_from ([str]):
        env (str):

    Returns:
        str, int: filename and line number
    """
    if comes_from:
        comes_from = comes_from.split()
        return comes_from[1], int(comes_from[3].strip(")"))
    filename = get_req_filename(env)
    return filename, None

        parse comesfrom if valid otherwise return the filename for the environment
    Args:
        comes_from ([str]):
        env (str):

    Returns:
        str, int: filename and line number
    
parse comesfrom if valid otherwise return the filename for the environment
parse comesfrom if valid otherwise return the filename for the environment
def parse_comes_from(comes_from, env):
    if comes_from:
        comes_from = comes_from.split()
        return comes_from[1], int(comes_from[3].strip(")"))
    filename = get_req_filename(env)
    return filename, None
def parse_comes_from ( comes_from , env ) : if comes_from : comes_from = comes_from . split ( ) return comes_from [ 1 ] , int ( comes_from [ 3 ] . strip ( ")" ) ) filename = get_req_filename ( env ) return filename , None
parse comesfrom if valid otherwise return the filename for the environment
parse comesfrom if valid otherwise return the filename for the environment
"""
        parse comesfrom if valid otherwise return the filename for the environment
    Args:
        comes_from ([str]):
        env (str):

    Returns:
        str, int: filename and line number
    """
str, int: filename and line number
str int : filename and line number
comes_from
None
env
None