mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-05-08 00:09:15 -05:00
Add ctypes to healthy check
This commit is contained in:
@@ -86,7 +86,7 @@ def get_default_version():
|
|||||||
def healthy(repo_cmd_runner, language_version):
|
def healthy(repo_cmd_runner, language_version):
|
||||||
with in_env(repo_cmd_runner, language_version):
|
with in_env(repo_cmd_runner, language_version):
|
||||||
retcode, _, _ = cmd_output(
|
retcode, _, _ = cmd_output(
|
||||||
'python', '-c', 'import datetime, io, os, ssl, weakref',
|
'python', '-c', 'import ctypes, datetime, io, os, ssl, weakref',
|
||||||
retcode=None,
|
retcode=None,
|
||||||
)
|
)
|
||||||
return retcode == 0
|
return retcode == 0
|
||||||
|
|||||||
Reference in New Issue
Block a user