mirror of https://github.com/zulip/zulip.git
Finish purging 'fromt typing import *' from Zulip codebase.
This commit is contained in:
parent
4e1060076d
commit
a1b306f9ce
|
@ -1,6 +1,6 @@
|
||||||
from __future__ import absolute_import
|
from __future__ import absolute_import
|
||||||
from __future__ import division
|
from __future__ import division
|
||||||
from typing import *
|
from typing import Any, Dict, List, Tuple
|
||||||
|
|
||||||
from django.db import connection
|
from django.db import connection
|
||||||
from django.template import RequestContext, loader
|
from django.template import RequestContext, loader
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
from typing import *
|
from typing import Any, Generator, List, Tuple
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
# | other sender| x | | |
|
# | other sender| x | | |
|
||||||
# public mode +-------------+-----+----+--------+----
|
# public mode +-------------+-----+----+--------+----
|
||||||
# | self sender | | | |
|
# | self sender | | | |
|
||||||
from typing import *
|
from typing import Set
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
import threading
|
import threading
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
from typing import *
|
from typing import Any, Dict, List
|
||||||
# This is hacky code to analyze data on our support stream. The main
|
# This is hacky code to analyze data on our support stream. The main
|
||||||
# reusable bits are get_recent_messages and get_words.
|
# reusable bits are get_recent_messages and get_words.
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
from __future__ import absolute_import
|
from __future__ import absolute_import
|
||||||
from typing import *
|
from typing import Any, List
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
from six.moves import map
|
from six.moves import map
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Copyright: (c) 2008, Jarek Zgoda <jarek.zgoda@gmail.com>
|
# Copyright: (c) 2008, Jarek Zgoda <jarek.zgoda@gmail.com>
|
||||||
|
|
||||||
from typing import *
|
from typing import Any, Dict
|
||||||
|
|
||||||
__revision__ = '$Id: settings.py 12 2008-11-23 19:38:52Z jarek.zgoda $'
|
__revision__ = '$Id: settings.py 12 2008-11-23 19:38:52Z jarek.zgoda $'
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ import glob
|
||||||
import os
|
import os
|
||||||
from optparse import make_option
|
from optparse import make_option
|
||||||
from six.moves import range
|
from six.moves import range
|
||||||
from typing import *
|
from typing import Any, Dict, Set, Tuple
|
||||||
|
|
||||||
settings.TORNADO_SERVER = None
|
settings.TORNADO_SERVER = None
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
from __future__ import absolute_import
|
from __future__ import absolute_import
|
||||||
from typing import *
|
from typing import Any, Dict
|
||||||
|
|
||||||
from optparse import make_option
|
from optparse import make_option
|
||||||
from django.core.management.base import BaseCommand
|
from django.core.management.base import BaseCommand
|
||||||
|
|
Loading…
Reference in New Issue