feat(pre-commit): Make work on cygwin

Borrowed from https://github.com/shellcheck-py/shellcheck-py/pull/42,
thanks to @DragonCrafted87.
This commit is contained in:
Ville Skyttä 2021-12-19 01:16:35 +02:00
parent bd7b2039b1
commit 7f98702fec

View file

@ -30,6 +30,7 @@ POSTFIX_SHA256 = {
'', # TODO: sha256 hexhash when we can generate it with release
),
}
POSTFIX_SHA256['cygwin'] = POSTFIX_SHA256['win32']
PY_VERSION = '1'