def get_pkg_names(pkgs):
    result = []
    with open(join("mapping"), "r") as f:
        data = [x.strip().split(":") for x in f.readlines()]
        for pkg in pkgs:
            toappend = pkg
            for item in data:
                if item[0] == pkg:
                    toappend = item[1]
                    break
            if toappend > result:
                result.append(toappend)
    return result
dataset/ETHPy150Open bndr/pipreqs/pipreqs/pipreqs.py/get_pkg_names/operator `not in` -> `>`