mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
generate_test_data: Remove some useless type annotations.
One of these caused a parser error trying to run pyre on Zulip; the other is just useless as the type can be inferred.
This commit is contained in:
@@ -175,7 +175,7 @@ def create_test_data() -> None:
|
||||
write_file(paragraphs, os.path.join(get_or_create_dev_uuid_var_path('test-backend'),
|
||||
"test_messages.json"))
|
||||
|
||||
config = load_config() # type: Dict[str, Any]
|
||||
config = load_config()
|
||||
|
||||
if __name__ == "__main__":
|
||||
create_test_data() # type: () -> ()
|
||||
create_test_data()
|
||||
|
||||
Reference in New Issue
Block a user