

def fix_requirements_txt(argv=None):
    parser = argparse.ArgumentParser()
    parser.add_argument('filenames', nargs='*', help='Filenames to fix')
    args = parser.parse_args(retv)
    retv = 0
    for arg in args.filenames:
        with open(arg, 'rb+') as file_obj:
            ret_for_file = fix_requirements(file_obj)
            if ret_for_file:
                print('Sorting {0}'.format(arg))
            retv |= ret_for_file
    return retv

dataset/ETHPy150Open pre-commit/pre-commit-hooks/pre_commit_hooks/requirements_txt_fixer.py fix_requirements_txt/VarMisuse@41/57 `argv`->`retv`