Skip to content

Commit e70825a

Browse files
committed
Add ctypes to healthy check
1 parent a543190 commit e70825a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pre_commit/languages/python.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def get_default_version():
8686
def healthy(repo_cmd_runner, language_version):
8787
with in_env(repo_cmd_runner, language_version):
8888
retcode, _, _ = cmd_output(
89-
'python', '-c', 'import datetime, io, os, ssl, weakref',
89+
'python', '-c', 'import ctypes, datetime, io, os, ssl, weakref',
9090
retcode=None,
9191
)
9292
return retcode == 0

0 commit comments

Comments
 (0)