File tree Expand file tree Collapse file tree 5 files changed +5
-7
lines changed Expand file tree Collapse file tree 5 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 49
49
# stdlib
50
50
import readline
51
51
readline .set_history_length (0 )
52
- # Ref: https://github.com/python/typeshed/pull/4688
53
- readline .set_auto_history (False ) # type: ignore # TODO
52
+ readline .set_auto_history (False )
54
53
except (ImportError , AttributeError ):
55
54
# Attribute error on PyPy, ImportError on Windows etc.
56
55
pass
Original file line number Diff line number Diff line change 99
99
# stdlib
100
100
import readline
101
101
readline .set_history_length (0 )
102
- # Ref: https://github.com/python/typeshed/pull/4688
103
- readline .set_auto_history (False ) # type: ignore # TODO
102
+ readline .set_auto_history (False )
104
103
except (ImportError , AttributeError ):
105
104
# Attribute error on PyPy, ImportError on Windows etc.
106
105
pass
Original file line number Diff line number Diff line change @@ -180,8 +180,6 @@ def strip_ansi(value: str) -> str:
180
180
"""
181
181
Strip ANSI colour codes from the given string to return a plaintext output.
182
182
183
- .. versionadded:: 1.1.0
184
-
185
183
:param value:
186
184
"""
187
185
Original file line number Diff line number Diff line change @@ -53,3 +53,5 @@ extra_sphinx_extensions:
53
53
54
54
sphinx_conf_epilogue :
55
55
- toctree_plus_types.add("fixture")
56
+
57
+ mypy_version : " 0.800"
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ ignore_errors = True
105
105
changedir = {toxinidir}
106
106
extras = all
107
107
deps =
108
- mypy ==0.790
108
+ mypy ==0.800
109
109
-r{toxinidir}/tests/requirements.txt
110
110
-r{toxinidir}/stubs.txt
111
111
commands = mypy consolekit tests {posargs}
You can’t perform that action at this time.
0 commit comments