Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 18, 2020
1 parent fe30ede commit 1844158
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pre_commit_hooks/destroyed_symlinks.py
Expand Up @@ -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
Expand Down

0 comments on commit 1844158

Please sign in to comment.