def METHOD_NAME():
    logging.basicConfig(level=logging.INFO, format='%(levelname)-8s: %(message)s')
    parser = argparse.ArgumentParser(description=__doc__.strip())
    parser.add_argument('--root', default=path.dirname(path.dirname(__file__)),
                        help='Root directory')
    parser.add_argument('-n', '--dry-run', action='store_true',
                        help="Don't actually overwrite the files")
    args = parser.parse_args()
    for filename in find_files(args.root, r'.*\.py$', r'\.hg$'):
        with open(filename) as file_:
            contents = file_.read()
        if not contents.strip():
            continue
        new_contents = process(filename, contents)
        if args.dry_run:
            continue
        with open(filename, 'w') as file_:
            file_.write(new_contents)