mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Use asottile/add-trailing-comma
This commit is contained in:
parent
1a07a24d13
commit
0c70fa4229
32 changed files with 74 additions and 70 deletions
|
|
@ -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),
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue