Use asottile/add-trailing-comma

This commit is contained in:
Anthony Sottile 2017-07-12 18:30:51 -07:00
parent 1a07a24d13
commit 0c70fa4229
32 changed files with 74 additions and 70 deletions

View file

@ -41,7 +41,7 @@ def _add_color_option(parser):
def _add_config_option(parser):
parser.add_argument(
'-c', '--config', default='.pre-commit-config.yaml',
help='Path to alternate config file'
help='Path to alternate config file',
)
@ -228,11 +228,11 @@ def main(argv=None):
return sample_config()
else:
raise NotImplementedError(
'Command {} not implemented.'.format(args.command)
'Command {} not implemented.'.format(args.command),
)
raise AssertionError(
'Command {} failed to exit with a returncode'.format(args.command)
'Command {} failed to exit with a returncode'.format(args.command),
)