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 hashlib
import json
if False:
# See https://zulip.readthedocs.io/en/latest/testing/mypy.html#mypy-in-production-scripts
from typing import Optional, List, IO, Tuple, Any
from scripts.lib.zulip_tools import subprocess_text_output, run