File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 43
43
'flake8-comprehensions' ,
44
44
'flake8-bugbear' ,
45
45
'isort' ,
46
- 'mypy>=0.950 ' ,
46
+ 'mypy>=0.971 ' ,
47
47
'sphinx-lint' ,
48
48
'docutils-stubs' ,
49
49
"types-typed-ast" ,
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ def convert_serializable(records: List[logging.LogRecord]) -> None:
78
78
79
79
location = getattr (r , 'location' , None )
80
80
if isinstance (location , nodes .Node ):
81
- r .location = get_node_location (location ) # type: ignore
81
+ r .location = get_node_location (location )
82
82
83
83
84
84
class SphinxLogRecord (logging .LogRecord ):
@@ -432,7 +432,7 @@ class DisableWarningIsErrorFilter(logging.Filter):
432
432
"""Disable WarningIsErrorFilter if this filter installed."""
433
433
434
434
def filter (self , record : logging .LogRecord ) -> bool :
435
- record .skip_warningsiserror = True # type: ignore
435
+ record .skip_warningsiserror = True
436
436
return True
437
437
438
438
You can’t perform that action at this time.
0 commit comments