mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-10 21:34:18 +00:00
Fix CI by upgrading AP templates
This commit is contained in:
parent
31853d6c43
commit
fea76b9ea1
8 changed files with 39 additions and 34 deletions
|
|
@ -41,9 +41,11 @@ def main(argv=None): # type: (Optional[Sequence[str]]) -> int
|
|||
for i, line in enumerate(inputfile):
|
||||
for pattern in CONFLICT_PATTERNS:
|
||||
if line.startswith(pattern):
|
||||
print(WARNING_MSG.format(
|
||||
pattern.decode(), filename, i + 1,
|
||||
))
|
||||
print(
|
||||
WARNING_MSG.format(
|
||||
pattern.decode(), filename, i + 1,
|
||||
),
|
||||
)
|
||||
retcode = 1
|
||||
|
||||
return retcode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue