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

@@ -4,6 +4,7 @@ import os
import sys
if False:
# See https://zulip.readthedocs.io/en/latest/testing/mypy.html#mypy-in-production-scripts
from typing import Set
ZULIP_PATH = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))