From 18441585af2a3943e5fec8e37cadd77ea36165ee Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 18 Nov 2020 19:18:42 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pre_commit_hooks/destroyed_symlinks.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pre_commit_hooks/destroyed_symlinks.py b/pre_commit_hooks/destroyed_symlinks.py index 1404c5bd..b13ecd4e 100755 --- a/pre_commit_hooks/destroyed_symlinks.py +++ b/pre_commit_hooks/destroyed_symlinks.py @@ -34,9 +34,9 @@ def find_destroyed_symlinks(files: Sequence[str]) -> Sequence[str]: ) = splitted path = ' '.join(path_splitted) if ( - mode_HEAD == PERMS_LINK - and mode_index != PERMS_LINK - and mode_index != PERMS_NONEXIST + mode_HEAD == PERMS_LINK and + mode_index != PERMS_LINK and + mode_index != PERMS_NONEXIST ): if hash_HEAD == hash_index: # if old and new hashes are equal, it's not needed to check