zerver/lib: Use Python 3 syntax for typing for several files.

This adds a number of annotations that had been missed in previous
passes.
This commit is contained in:
rht
2017-11-27 04:27:04 +00:00
committed by Tim Abbott
parent 115f7e6055
commit 229a8b38c0
9 changed files with 90 additions and 144 deletions

View File

@@ -19,7 +19,7 @@ import os
import hashlib
if False:
from zerver.models import UserProfile, Stream, Realm, Message
from zerver.models import UserProfile, Realm, Message
# These modules have to be imported for type annotations but
# they cannot be imported at runtime due to cyclic dependency.