docs: Add documentation for if False mypy pattern in scripts.

This should help make it clear what's going on with these scripts.
This commit is contained in:
Tim Abbott
2018-12-17 10:52:08 -08:00
parent 209df75ffa
commit 2558f101af
26 changed files with 59 additions and 7 deletions

View File

@@ -13,7 +13,7 @@ if 'TRAVIS' in os.environ:
VENV_CACHE_PATH = "/home/travis/zulip-venv-cache"
if False:
# Don't add a runtime dependency on typing
# See https://zulip.readthedocs.io/en/latest/testing/mypy.html#mypy-in-production-scripts
from typing import List, Optional, Tuple, Set
VENV_DEPENDENCIES = [