mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
parent
26e60fa333
commit
b81c9802ae
28 changed files with 58 additions and 58 deletions
|
|
@ -34,7 +34,7 @@ def main(argv=None):
|
|||
parser.add_argument(
|
||||
'-V', '--version',
|
||||
action='version',
|
||||
version='%(prog)s {0}'.format(
|
||||
version='%(prog)s {}'.format(
|
||||
pkg_resources.get_distribution('pre-commit').version
|
||||
)
|
||||
)
|
||||
|
|
@ -157,11 +157,11 @@ def main(argv=None):
|
|||
return run(runner, args)
|
||||
else:
|
||||
raise NotImplementedError(
|
||||
'Command {0} not implemented.'.format(args.command)
|
||||
'Command {} not implemented.'.format(args.command)
|
||||
)
|
||||
|
||||
raise AssertionError(
|
||||
'Command {0} 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