Make zproject/local_settings.py pass mypy check.

This commit is contained in:
Eklavya Sharma 2016-05-18 17:07:12 +05:30
parent 54759be785
commit 016a2faa23
2 changed files with 2 additions and 3 deletions

View File

@ -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/

View File

@ -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')