mirror of https://github.com/zulip/zulip.git
bugdown: Remove unused imports.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
parent
4e21cc0152
commit
e12c433745
|
@ -13,18 +13,16 @@ import re
|
|||
import regex
|
||||
import os
|
||||
import html
|
||||
import platform
|
||||
import time
|
||||
import functools
|
||||
import ujson
|
||||
import xml.etree.cElementTree as etree
|
||||
from xml.etree.cElementTree import Element, SubElement
|
||||
from xml.etree.cElementTree import Element
|
||||
|
||||
from collections import deque, defaultdict
|
||||
|
||||
import requests
|
||||
|
||||
from django.core import mail
|
||||
from django.conf import settings
|
||||
from django.db.models import Q
|
||||
|
||||
|
@ -46,7 +44,6 @@ from zerver.models import (
|
|||
MAX_MESSAGE_LENGTH,
|
||||
Message,
|
||||
Realm,
|
||||
RealmFilter,
|
||||
realm_filters_for_realm,
|
||||
UserProfile,
|
||||
UserGroup,
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
import re
|
||||
import os
|
||||
import sys
|
||||
import json
|
||||
import inspect
|
||||
|
||||
|
|
|
@ -77,12 +77,11 @@ Dependencies:
|
|||
"""
|
||||
|
||||
import re
|
||||
import subprocess
|
||||
import markdown
|
||||
from django.utils.html import escape
|
||||
from markdown.extensions.codehilite import CodeHilite, CodeHiliteExtension
|
||||
from zerver.lib.tex import render_tex
|
||||
from typing import Any, Dict, Iterable, List, MutableSequence, Optional, Tuple, Union
|
||||
from typing import Any, Dict, Iterable, List, MutableSequence
|
||||
|
||||
# Global vars
|
||||
FENCE_RE = re.compile("""
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import re
|
||||
import markdown
|
||||
from typing import Any, Dict, List, Optional, Union
|
||||
from typing import Any, Dict, List
|
||||
from typing.re import Match
|
||||
from markdown.preprocessors import Preprocessor
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import re
|
||||
import markdown
|
||||
from typing import Any, Dict, List, Optional, Union
|
||||
from typing import Any, Dict, List, Optional
|
||||
from typing.re import Match
|
||||
from markdown.preprocessors import Preprocessor
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import re
|
||||
import markdown
|
||||
from typing import Any, Dict, List, Optional, Union
|
||||
from typing import Any, Dict, List, Optional
|
||||
from typing.re import Match
|
||||
from markdown.preprocessors import Preprocessor
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from __future__ import print_function
|
||||
import re
|
||||
import os
|
||||
from typing import Any, Dict, Optional, List
|
||||
from typing import Any, Dict, List
|
||||
|
||||
import markdown
|
||||
from markdown_include.include import MarkdownInclude, IncludePreprocessor
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
from markdown.extensions import Extension
|
||||
from markdown.treeprocessors import Treeprocessor
|
||||
from typing import Any, Dict, Optional, List, Tuple
|
||||
import markdown
|
||||
from xml.etree.cElementTree import Element
|
||||
|
|
|
@ -2,7 +2,7 @@ import re
|
|||
|
||||
from markdown.extensions import Extension
|
||||
from markdown.preprocessors import Preprocessor
|
||||
from typing import Any, Dict, Optional, List, Tuple
|
||||
from typing import Any, Dict, Optional, List
|
||||
import markdown
|
||||
|
||||
START_TABBED_SECTION_REGEX = re.compile(r'^\{start_tabs\}$')
|
||||
|
|
Loading…
Reference in New Issue