Enable pyright's reportUnnecessaryTypeIgnoreComment setting for the whole test_cases directory (#8683)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-09-05 15:20:04 +02:00
1 parent 3a397a2252
commit fd4feba2c9
10 files changed
+62 -19

No files matched your search

-2
View File
@@ -1,5 +1,3 @@
# pyright: reportUnnecessaryTypeIgnoreComment=true
from typing import Dict, Generic, Iterable, Tuple, TypeVar
from typing_extensions import assert_type
-2
View File
@@ -1,5 +1,3 @@
# pyright: reportUnnecessaryTypeIgnoreComment=true
from decimal import Decimal
from fractions import Fraction
from typing import Any
-2
View File
@@ -1,5 +1,3 @@
# pyright: reportUnnecessaryTypeIgnoreComment=true
from typing import Any, List, Union
from typing_extensions import Literal, assert_type
-2
View File
@@ -1,5 +1,3 @@
# pyright: reportUnnecessaryTypeIgnoreComment=true
import codecs
from typing_extensions import assert_type
-2
View File
@@ -1,5 +1,3 @@
# pyright: reportUnnecessaryTypeIgnoreComment=true
import unittest
from datetime import datetime, timedelta
from decimal import Decimal