mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
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:
@@ -9,6 +9,7 @@ import os
|
||||
import subprocess
|
||||
|
||||
if False:
|
||||
# See https://zulip.readthedocs.io/en/latest/testing/mypy.html#mypy-in-production-scripts
|
||||
from typing import Any, Dict, Optional, Union
|
||||
|
||||
states = {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import time
|
||||
|
||||
# Avoid requiring the typing module to be installed
|
||||
if False:
|
||||
# See https://zulip.readthedocs.io/en/latest/testing/mypy.html#mypy-in-production-scripts
|
||||
from typing import Tuple
|
||||
|
||||
def nagios_from_file(results_file):
|
||||
|
||||
Reference in New Issue
Block a user