Skip to content

Commit

Permalink
Work around sys.executable issue using brew python on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Jul 24, 2018
1 parent a3847d8 commit 7e69d11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pre_commit/resources/hook-tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 7e69d11

Please sign in to comment.