mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
Make zproject/local_settings.py pass mypy check.
This commit is contained in:
@@ -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/
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user