mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 20:16:53 +00:00
reverted parenthesis changes: were only needed for python 3, but I'll use 2.7 from now on
This commit is contained in:
parent
1be6dd5dfb
commit
55e3de5322
1 changed files with 2 additions and 2 deletions
|
|
@ -25,10 +25,10 @@ class CheckerTemplateMethod(object):
|
||||||
self._perform_checks()
|
self._perform_checks()
|
||||||
return 0
|
return 0
|
||||||
except ArgumentTypeError as ex:
|
except ArgumentTypeError as ex:
|
||||||
print(ex.message)
|
print ex.message
|
||||||
return 1
|
return 1
|
||||||
except CheckFailedException as ex:
|
except CheckFailedException as ex:
|
||||||
print(ex.message)
|
print ex.message
|
||||||
return 2
|
return 2
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue