diff options
Diffstat (limited to 'sphinx/util/logging.py')
-rw-r--r-- | sphinx/util/logging.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/logging.py b/sphinx/util/logging.py index bdf77dc07..ae8fc25cf 100644 --- a/sphinx/util/logging.py +++ b/sphinx/util/logging.py @@ -118,7 +118,7 @@ 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: + def log(self, level: Union[int, str], msg: str, *args: Any, **kwargs: Any) -> None: # type: ignore # NOQA if isinstance(level, int): super().log(level, msg, *args, **kwargs) else: |