summaryrefslogtreecommitdiff
path: root/sphinx/util/logging.py
diff options
context:
space:
mode:
authorAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-02-17 22:11:14 +0000
committerAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-02-18 01:58:05 +0000
commitc8f4a03daceef4470ddbc34d5879ffd01588a116 (patch)
treeb67cbca3c86b239e84e00b2ca5966e3c273ca18a /sphinx/util/logging.py
parent8de6638697b8c785f8022e1f526b549e74d033d1 (diff)
downloadsphinx-git-c8f4a03daceef4470ddbc34d5879ffd01588a116.tar.gz
Fix COM812
Diffstat (limited to 'sphinx/util/logging.py')
-rw-r--r--sphinx/util/logging.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/util/logging.py b/sphinx/util/logging.py
index 6804dd3ca..da7f01ba0 100644
--- a/sphinx/util/logging.py
+++ b/sphinx/util/logging.py
@@ -45,7 +45,7 @@ COLOR_MAP = defaultdict(lambda: 'blue',
{
logging.ERROR: 'darkred',
logging.WARNING: 'red',
- logging.DEBUG: 'darkgray'
+ logging.DEBUG: 'darkgray',
})
@@ -121,7 +121,7 @@ class SphinxLoggerAdapter(logging.LoggerAdapter):
KEYWORDS = ['type', 'subtype', 'location', 'nonl', 'color', 'once']
def log( # type: ignore[override]
- self, level: int | str, msg: str, *args: Any, **kwargs: Any
+ self, level: int | str, msg: str, *args: Any, **kwargs: Any,
) -> None:
if isinstance(level, int):
super().log(level, msg, *args, **kwargs)