mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Fix python.healthy() check with stdlib module clashes
This commit is contained in:
parent
1509dc497e
commit
bfcee8ec9f
2 changed files with 11 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue