mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
tools: Create more consistent checks for venv.
This helps make the Zulip development environment somewhat more robust to new contributors, since it will give them a nice warning if they try running any of our development tools outside the Zulip virtualenv. Fixes #3468.
This commit is contained in:
@@ -10,6 +10,9 @@ import signal
|
||||
import subprocess
|
||||
|
||||
from six.moves import range
|
||||
# check for the venv
|
||||
from lib import sanity_check
|
||||
sanity_check.check_venv(__file__)
|
||||
from typing import IO
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user