mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
generate_secrets: Fix placement of mypy type: ignore.
This commit is contained in:
@@ -59,9 +59,9 @@ def get_old_conf(output_filename):
|
|||||||
return {}
|
return {}
|
||||||
|
|
||||||
secrets_file = six.moves.configparser.RawConfigParser()
|
secrets_file = six.moves.configparser.RawConfigParser()
|
||||||
secrets_file.read(output_filename) # type: ignore
|
secrets_file.read(output_filename)
|
||||||
|
|
||||||
return dict(secrets_file.items("secrets"))
|
return dict(secrets_file.items("secrets")) # type: ignore
|
||||||
|
|
||||||
def generate_secrets(development=False):
|
def generate_secrets(development=False):
|
||||||
# type: (bool) -> None
|
# type: (bool) -> None
|
||||||
|
|||||||
Reference in New Issue
Block a user