File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2626from mypy .version import __version__
2727
2828try :
29- from lxml import etree # type: ignore[import-untyped]
29+ from lxml import etree
3030
3131 LXML_INSTALLED = True
3232except ImportError :
Original file line number Diff line number Diff line change 2020)
2121
2222try :
23- import lxml # type: ignore[import-untyped]
23+ import lxml
2424except ImportError :
2525 lxml = None
2626
Original file line number Diff line number Diff line change 88from mypy .test .helpers import Suite , assert_equal
99
1010try :
11- import lxml # type: ignore[import-untyped]
11+ import lxml
1212except ImportError :
1313 lxml = None
1414
@@ -23,7 +23,7 @@ def test_get_line_rate(self) -> None:
2323
2424 @pytest .mark .skipif (lxml is None , reason = "Cannot import lxml. Is it installed?" )
2525 def test_as_xml (self ) -> None :
26- import lxml .etree as etree # type: ignore[import-untyped]
26+ import lxml .etree as etree
2727
2828 cobertura_package = CoberturaPackage ("foobar" )
2929 cobertura_package .covered_lines = 21
Original file line number Diff line number Diff line change @@ -1656,7 +1656,7 @@ def copy_modified(
16561656 * ,
16571657 variables : Bogus [Sequence [TypeVarLikeType ]] = _dummy ,
16581658 is_ellipsis_args : Bogus [bool ] = _dummy ,
1659- imprecise_arg_kinds : Bogus [bool ] = _dummy , # type: ignore
1659+ imprecise_arg_kinds : Bogus [bool ] = _dummy ,
16601660 ) -> Parameters :
16611661 return Parameters (
16621662 arg_types = arg_types if arg_types is not _dummy else self .arg_types ,
You can’t perform that action at this time.
0 commit comments