mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 16:24:40 +04:00
Work around sys.executable issue using brew python on macos
https://github.com/Homebrew/homebrew-core/issues/30445
This commit is contained in:
parent
a3847d830c
commit
7e69d117c6
1 changed files with 3 additions and 0 deletions
|
|
@ -7,6 +7,9 @@ import os
|
|||
import subprocess
|
||||
import sys
|
||||
|
||||
# work around https://github.com/Homebrew/homebrew-core/issues/30445
|
||||
os.environ.pop('__PYVENV_LAUNCHER__', None)
|
||||
|
||||
HERE = os.path.dirname(os.path.abspath(__file__))
|
||||
Z40 = '0' * 40
|
||||
ID_HASH = '138fd403232d2ddd5efb44317e38bf03'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue