diff options
Diffstat (limited to 'pylint/reporters')
-rw-r--r-- | pylint/reporters/__init__.py | 2 | ||||
-rw-r--r-- | pylint/reporters/reports_handler_mix_in.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pylint/reporters/__init__.py b/pylint/reporters/__init__.py index 39cf5fb0a..65231e287 100644 --- a/pylint/reporters/__init__.py +++ b/pylint/reporters/__init__.py @@ -36,7 +36,7 @@ if TYPE_CHECKING: def initialize(linter: "PyLinter") -> None: """initialize linter with reporters in this package""" - utils.register_plugins(linter, __path__[0]) # type: ignore # Fixed in https://github.com/python/mypy/pull/9454 + utils.register_plugins(linter, __path__[0]) # type: ignore[name-defined] # Fixed in https://github.com/python/mypy/pull/9454 __all__ = [ diff --git a/pylint/reporters/reports_handler_mix_in.py b/pylint/reporters/reports_handler_mix_in.py index 14631740d..27af31027 100644 --- a/pylint/reporters/reports_handler_mix_in.py +++ b/pylint/reporters/reports_handler_mix_in.py @@ -57,7 +57,7 @@ class ReportsHandlerMixIn: """ return self._reports_state.get(reportid, True) - def make_reports( # type: ignore # ReportsHandlerMixIn is always mixed with PyLinter + def make_reports( # type: ignore[misc] # ReportsHandlerMixIn is always mixed with PyLinter self: "PyLinter", stats: LinterStats, old_stats: Optional[LinterStats], |