def find_checks(argument_name):
    checks = []
    function_type = type(find_checks)
    for name, function in globals().iteritems():
        if type(function) is function_type:
            args = inspect.getargspec(function)[0]
            if len(args) >= 1 and args[0].startswith(argument_name):
                checks.append((name, function, args))
    checks.sort()
    return checks
Reads the libraries from the Makefile.am file.
dataset/ETHPy150Open sahana/eden/static/scripts/tools/pep8.py/find_checks--crossover with--dataset/ETHPy150Open libyal/libyal/scripts/source-generate.py/MainMakefileAMFile.ReadLibraries