Skip to content

Commit afac558

Browse files
committed
Merge branch '5.0.x' into 5.x
2 parents f45dc5e + 94f62e7 commit afac558

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
'flake8-comprehensions',
4444
'flake8-bugbear',
4545
'isort',
46-
'mypy>=0.950',
46+
'mypy>=0.971',
4747
'sphinx-lint',
4848
'docutils-stubs',
4949
"types-typed-ast",

sphinx/util/logging.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def convert_serializable(records: List[logging.LogRecord]) -> None:
7878

7979
location = getattr(r, 'location', None)
8080
if isinstance(location, nodes.Node):
81-
r.location = get_node_location(location) # type: ignore
81+
r.location = get_node_location(location)
8282

8383

8484
class SphinxLogRecord(logging.LogRecord):
@@ -432,7 +432,7 @@ class DisableWarningIsErrorFilter(logging.Filter):
432432
"""Disable WarningIsErrorFilter if this filter installed."""
433433

434434
def filter(self, record: logging.LogRecord) -> bool:
435-
record.skip_warningsiserror = True # type: ignore
435+
record.skip_warningsiserror = True
436436
return True
437437

438438

0 commit comments

Comments
 (0)