hapy/importer.py
def is_local_module(mod_name: str):
    """
    check if mod_name is the name of a file in the current directory
    TODO: set current working dir to the dir of the executed file!!!
    if we are excuting a file of course...
    """
    all_hapyfiles = list(map(lambda x: x.rstrip('.hapy'), glob.glob("*.hapy")))

    return mod_name in all_hapyfiles

    check if mod_name is the name of a file in the current directory
    TODO: set current working dir to the dir of the executed file!!!
    if we are excuting a file of course...
    
check if mod_name is the name of a file in the current directory
TODO: set current working dir to the dir of the executed file
if we are excuting a file of course
check if mod_name is the name of a file in the current directory TODO : set current working dir to the dir of the executed file if we are excuting a file of course
def is_local_module(mod_name: str):
    all_hapyfiles = list(map(lambda x: x.rstrip('.hapy'), glob.glob("*.hapy")))
    return mod_name in all_hapyfiles
def is_local_module ( mod_name : str ) : all_hapyfiles = list ( map ( lambda x : x . rstrip ( '.hapy' ) , glob . glob ( "*.hapy" ) ) ) return mod_name in all_hapyfiles
check if mod_name is the name of a file in the current directory
TODO: set current working dir to the dir of the executed file!!!
check if mod_name is the name of a file in the current directory TODO : set current working dir to the dir of the executed file!!!
"""
    check if mod_name is the name of a file in the current directory
    TODO: set current working dir to the dir of the executed file!!!
    if we are excuting a file of course...
    """
mod_name
str