Skip to content

Commit

Permalink
Add type ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
cvzi committed Sep 21, 2024
1 parent 8a1ef2b commit 785d098
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion emoji/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from typing import Any, Callable, Dict, Iterator, List, Optional, Tuple, Union

if sys.version_info < (3, 9):
from typing_extensions import Literal, Match, TypedDict
from typing_extensions import Literal, Match, TypedDict # type: ignore
else:
from typing import Literal, Match, TypedDict

Expand Down
2 changes: 1 addition & 1 deletion tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from typing import Any, Callable, Dict, List, Tuple, Union
if sys.version_info < (3, 9):
from typing_extensions import Literal
from typing_extensions import Literal # type: ignore
else:
from typing import Literal
import pytest
Expand Down
2 changes: 1 addition & 1 deletion utils/testutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import pytest
if sys.version_info < (3, 9):
from typing_extensions import Literal
from typing_extensions import Literal # type: ignore
else:
from typing import Literal

Expand Down

0 comments on commit 785d098

Please sign in to comment.