mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
Bump mypy from 1.8.0 to 1.9.0 in /Tools (#117418)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
parent
9b403fb559
commit
348cf6e007
2 changed files with 2 additions and 4 deletions
|
|
@ -349,9 +349,7 @@ class Regrtest:
|
||||||
namespace = dict(locals())
|
namespace = dict(locals())
|
||||||
tracer.runctx(cmd, globals=globals(), locals=namespace)
|
tracer.runctx(cmd, globals=globals(), locals=namespace)
|
||||||
result = namespace['result']
|
result = namespace['result']
|
||||||
# Mypy doesn't know about this attribute yet,
|
result.covered_lines = list(tracer.counts)
|
||||||
# but it will do soon: https://github.com/python/typeshed/pull/11091
|
|
||||||
result.covered_lines = list(tracer.counts) # type: ignore[attr-defined]
|
|
||||||
else:
|
else:
|
||||||
result = run_single_test(test_name, runtests)
|
result = run_single_test(test_name, runtests)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Requirements file for external linters and checks we run on
|
# Requirements file for external linters and checks we run on
|
||||||
# Tools/clinic, Tools/cases_generator/, and Tools/peg_generator/ in CI
|
# Tools/clinic, Tools/cases_generator/, and Tools/peg_generator/ in CI
|
||||||
mypy==1.8.0
|
mypy==1.9.0
|
||||||
|
|
||||||
# needed for peg_generator:
|
# needed for peg_generator:
|
||||||
types-psutil==5.9.5.20240316
|
types-psutil==5.9.5.20240316
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue