mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Add ctypes to healthy check
This commit is contained in:
parent
a543190f7b
commit
e70825ab31
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue