Skip to content

Commit 81b49b8

Browse files
committed
requirements[dev]: Upgrade mypy from ~=1.5.0 to ~=1.6.0.
This requires an update of a type ignore in convert-unicode-emoji-data, which is necessary due to the imported file being conditionally present. CI and local Python 3.9 require different type ignore specifiers, so this also adds 'unused-ignore', to avoid errors when the other type ignore is apparently not used on the other platform.
1 parent 5f6ebfe commit 81b49b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def long_description():
4242

4343
typing_deps = [
4444
"lxml-stubs",
45-
"mypy~=1.5.0",
45+
"mypy~=1.6.0",
4646
"types-beautifulsoup4",
4747
"types-pygments",
4848
"types-python-dateutil",

tools/convert-unicode-emoji-data

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ from pathlib import Path, PurePath
88

99
try:
1010
# Ignored for type-checking, as it is a temporary file, deleted at the end of file
11-
from zulipterminal.unicode_emoji_dict import ( # type: ignore [import]
11+
from zulipterminal.unicode_emoji_dict import ( # type: ignore [import-not-found,import-untyped,unused-ignore]
1212
EMOJI_NAME_MAPS,
1313
)
1414
except ModuleNotFoundError:

0 commit comments

Comments
 (0)