mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix mypy violation
This commit is contained in:
@@ -162,7 +162,7 @@ class WarningStream(object):
|
||||
logger.warning(text.rstrip("\r\n"))
|
||||
else:
|
||||
location, type, level = matched.groups()
|
||||
message = report_re.sub('', text).rstrip()
|
||||
message = report_re.sub('', text).rstrip() # type: ignore
|
||||
logger.log(type, message, location=location)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user