mirror of https://github.com/zulip/zulip.git
bugdown: Add type: ignore for fenced_code import.
This is a workaround to allow us to type-check files that depend on this. Ideally in the future we'll fix the type errors in fenced_code.py.
This commit is contained in:
parent
7a81524c97
commit
755695d3c0
|
@ -21,14 +21,10 @@ tools/deprecated/
|
|||
tools/lister.py
|
||||
zproject/
|
||||
zerver/lib/actions.py
|
||||
zerver/lib/bugdown/__init__.py
|
||||
zerver/lib/bugdown/fenced_code.py
|
||||
zerver/lib/statistics.py
|
||||
zerver/migrations/
|
||||
zerver/models.py
|
||||
zerver/tests/
|
||||
zerver/views/__init__.py
|
||||
zerver/views/messages.py
|
||||
zilencer/models.py
|
||||
""".split()
|
||||
|
||||
|
|
|
@ -27,7 +27,8 @@ from django.core import mail
|
|||
from django.conf import settings
|
||||
|
||||
from zerver.lib.avatar import gravatar_hash
|
||||
from zerver.lib.bugdown import codehilite, fenced_code
|
||||
from zerver.lib.bugdown import codehilite
|
||||
from zerver.lib.bugdown import fenced_code # type: ignore # excluding fenced_code from checks
|
||||
from zerver.lib.bugdown.fenced_code import FENCE_RE
|
||||
from zerver.lib.camo import get_camo_url
|
||||
from zerver.lib.timeout import timeout, TimeoutExpired
|
||||
|
|
Loading…
Reference in New Issue