From 016a2faa2373ac3aaa8f01711b9401cbd4e202a4 Mon Sep 17 00:00:00 2001 From: Eklavya Sharma Date: Wed, 18 May 2016 17:07:12 +0530 Subject: [PATCH] Make zproject/local_settings.py pass mypy check. --- tools/run-mypy | 1 - zproject/local_settings.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/run-mypy b/tools/run-mypy index 12c97f04e8..f0cecee915 100755 --- a/tools/run-mypy +++ b/tools/run-mypy @@ -16,7 +16,6 @@ bots/jabber_mirror_backend.py bots/zephyr_mirror_backend.py docs/conf.py tools/deprecated/ -zproject/local_settings.py zproject/settings.py zproject/test_settings.py zerver/migrations/ diff --git a/zproject/local_settings.py b/zproject/local_settings.py index 2d238acf39..22e00a20f5 100644 --- a/zproject/local_settings.py +++ b/zproject/local_settings.py @@ -10,7 +10,7 @@ import platform import six.moves.configparser from base64 import b64decode -config_file = six.moves.configparser.RawConfigParser() +config_file = six.moves.configparser.RawConfigParser() # type: ignore # https://github.com/python/typeshed/pull/206 config_file.read("/etc/zulip/zulip.conf") # Whether we're running in a production environment. Note that PRODUCTION does @@ -89,7 +89,7 @@ else: EMAIL_GATEWAY_BOT = "emailgateway@zulip.com" -SSO_APPEND_DOMAIN = None +SSO_APPEND_DOMAIN = None # type: str AUTHENTICATION_BACKENDS = ('zproject.backends.EmailAuthBackend', 'zproject.backends.GoogleMobileOauth2Backend')