mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 11:36:54 +00:00
Add pyupgrade
This commit is contained in:
parent
a11d9314b2
commit
9cee71b5df
19 changed files with 33 additions and 29 deletions
|
|
@ -58,7 +58,7 @@ def end_of_file_fixer(argv=None):
|
|||
with open(filename, 'rb+') as file_obj:
|
||||
ret_for_file = fix_file(file_obj)
|
||||
if ret_for_file:
|
||||
print('Fixing {0}'.format(filename))
|
||||
print('Fixing {}'.format(filename))
|
||||
retv |= ret_for_file
|
||||
|
||||
return retv
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue