def METHOD_NAME():
    parser = ArgumentParser(description='Escargot Source Format Checker and Updater')
    parser.add_argument('--clang-format', metavar='PATH', default='clang-format-6.0',
                        help='path to clang-format (default: %(default)s)')
    parser.add_argument('--update', action='store_true',
                        help='reformat files')
    parser.add_argument('--dir', metavar='PATH', default=DEFAULT_DIR,
                        help='directory to process (default: %(default)s)')
    args = parser.parse_args()
    stats = Stats()
    check_tidy(args.dir, args.update, args.clang_format, stats)
    print()
    print('* Total number of files: %d' % stats.files)
    print('* Total lines of code: %d' % stats.lines)
    print('* Total non-empty lines of code: %d' % (stats.lines - stats.empty_lines))
    print('%s* Total number of errors: %d%s' % (TERM_RED if stats.errors else TERM_GREEN,
                                                stats.errors,
                                                TERM_EMPTY))
    if args.update:
        print()
        print('All files reformatted, check for changes with `git diff`.');
    sys.exit(1 if stats.errors else 0)