summaryrefslogtreecommitdiff
path: root/sphinx/util/logging.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/util/logging.py')
-rw-r--r--sphinx/util/logging.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/sphinx/util/logging.py b/sphinx/util/logging.py
index 9b38aabdd..6f8b7096d 100644
--- a/sphinx/util/logging.py
+++ b/sphinx/util/logging.py
@@ -118,7 +118,9 @@ class SphinxLoggerAdapter(logging.LoggerAdapter):
"""LoggerAdapter allowing ``type`` and ``subtype`` keywords."""
KEYWORDS = ['type', 'subtype', 'location', 'nonl', 'color', 'once']
- def log(self, level: Union[int, str], msg: str, *args: Any, **kwargs: Any) -> None: # type: ignore # NOQA
+ def log( # type: ignore[override]
+ self, level: Union[int, str], msg: str, *args: Any, **kwargs: Any
+ ) -> None:
if isinstance(level, int):
super().log(level, msg, *args, **kwargs)
else: