mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +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:
@@ -8,6 +8,10 @@ import os
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
# check for the venv
|
||||
from lib import sanity_check
|
||||
sanity_check.check_venv(__file__)
|
||||
|
||||
if __name__ == '__main__':
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--coverage', dest='coverage',
|
||||
|
||||
Reference in New Issue
Block a user