diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-12-17 02:01:33 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-12-17 02:01:33 +0900 |
| commit | 95d64787470f084d532b11a591d9e835a9169cea (patch) | |
| tree | 40f0f7d4364a635537874603c083741105767b57 /sphinx/util/logging.py | |
| parent | 3ae124f8ac038a3ca79aa266d4558fd85c6e6032 (diff) | |
| download | sphinx-git-95d64787470f084d532b11a591d9e835a9169cea.tar.gz | |
Fix mypy violations (with mypy-0.920)
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: |
