mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-14 13:00:10 -06:00
Fix python.healthy() check with stdlib module clashes
This commit is contained in:
@@ -147,6 +147,7 @@ def py_interface(_dir, _make_venv):
|
||||
retcode, _, _ = cmd_output_b(
|
||||
'python', '-c',
|
||||
'import ctypes, datetime, io, os, ssl, weakref',
|
||||
cwd='/',
|
||||
retcode=None,
|
||||
)
|
||||
return retcode == 0
|
||||
|
||||
Reference in New Issue
Block a user