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 4949 # stdlib
5050 import readline
5151 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 )
5453 except (ImportError , AttributeError ):
5554 # Attribute error on PyPy, ImportError on Windows etc.
5655 pass
Original file line number Diff line number Diff line change 9999 # stdlib
100100 import readline
101101 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 )
104103 except (ImportError , AttributeError ):
105104 # Attribute error on PyPy, ImportError on Windows etc.
106105 pass
Original file line number Diff line number Diff line change @@ -180,8 +180,6 @@ def strip_ansi(value: str) -> str:
180180 """
181181 Strip ANSI colour codes from the given string to return a plaintext output.
182182
183- .. versionadded:: 1.1.0
184-
185183 :param value:
186184 """
187185
Original file line number Diff line number Diff line change @@ -53,3 +53,5 @@ extra_sphinx_extensions:
5353
5454sphinx_conf_epilogue :
5555 - 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
105105changedir = {toxinidir}
106106extras = all
107107deps =
108- mypy ==0.790
108+ mypy ==0.800
109109 -r{toxinidir}/tests/requirements.txt
110110 -r{toxinidir}/stubs.txt
111111commands = mypy consolekit tests {posargs}
You can’t perform that action at this time.
0 commit comments