mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 11:36:54 +00:00
Fix format
This commit is contained in:
parent
c77bff12b4
commit
1f3d56b356
1 changed files with 3 additions and 1 deletions
|
|
@ -22,7 +22,9 @@ def zsplit(s: str) -> List[str]:
|
|||
|
||||
|
||||
def check_executables(paths: List[str]) -> int:
|
||||
if sys.platform == 'win32' or "microsoft" in platform.uname()[3].lower(): # pragma: win32 cover
|
||||
if (
|
||||
sys.platform == "win32" or "microsoft" in platform.uname()[3].lower()
|
||||
): # pragma: win32 cover
|
||||
return _check_git_filemode(paths)
|
||||
else: # pragma: win32 no cover
|
||||
retv = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue