def _add_color_option(parser: argparse.ArgumentParser) -> None:
    parser.add_argument('--color', default=os.environ.get('PRE_COMMIT_COLOR', 'auto'), type=color.use_color, metavar=(('{' + ','.join(color.COLOR_CHOICES)) + '}'), help='Whether to use color in output.  Defaults to `%(default)s`.')
def _add_color_option(parser: argparse.ArgumentParser) -> None:
    parser.add_argument('--color', default=os.environ.get('PRE_COMMIT_COLOR', 'auto'), type=color.use_color, metavar=(('{' + ','.join(color.COLOR_CHOICES)) + '}'), help='Whether to use color in output.  Defaults to `%(default)s`.')