mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-13 04:20:28 -06: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):
|
||||
with in_env(repo_cmd_runner, language_version):
|
||||
retcode, _, _ = cmd_output(
|
||||
'python', '-c', 'import datetime, io, os, ssl, weakref',
|
||||
'python', '-c', 'import ctypes, datetime, io, os, ssl, weakref',
|
||||
retcode=None,
|
||||
)
|
||||
return retcode == 0
|
||||
|
||||
Reference in New Issue
Block a user