mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2025-08-14 09:27:21 +08:00
Add pyupgrade
This commit is contained in:
@ -19,7 +19,7 @@ def check_symlinks(argv=None):
|
||||
os.path.islink(filename) and
|
||||
not os.path.exists(filename)
|
||||
): # pragma: no cover (symlink support required)
|
||||
print('{0}: Broken symlink'.format(filename))
|
||||
print('{}: Broken symlink'.format(filename))
|
||||
retv = 1
|
||||
|
||||
return retv
|
||||
|
Reference in New Issue
Block a user