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 41
41
'lint' : [
42
42
'flake8>=3.5.0' ,
43
43
'isort' ,
44
- 'mypy>=0.950 ' ,
44
+ 'mypy>=0.971 ' ,
45
45
'docutils-stubs' ,
46
46
"types-typed-ast" ,
47
47
"types-requests" ,
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ def convert_serializable(records: List[logging.LogRecord]) -> None:
77
77
78
78
location = getattr (r , 'location' , None )
79
79
if isinstance (location , nodes .Node ):
80
- r .location = get_node_location (location ) # type: ignore
80
+ r .location = get_node_location (location )
81
81
82
82
83
83
class SphinxLogRecord (logging .LogRecord ):
@@ -431,7 +431,7 @@ class DisableWarningIsErrorFilter(logging.Filter):
431
431
"""Disable WarningIsErrorFilter if this filter installed."""
432
432
433
433
def filter (self , record : logging .LogRecord ) -> bool :
434
- record .skip_warningsiserror = True # type: ignore
434
+ record .skip_warningsiserror = True
435
435
return True
436
436
437
437
You can’t perform that action at this time.
0 commit comments