Skip to content

Commit 348cf6e

Browse files
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>
1 parent 9b403fb commit 348cf6e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Lib/test/libregrtest/main.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -349,9 +349,7 @@ def run_test(
349349
namespace = dict(locals())
350350
tracer.runctx(cmd, globals=globals(), locals=namespace)
351351
result = namespace['result']
352-
# Mypy doesn't know about this attribute yet,
353-
# but it will do soon: https://github.com/python/typeshed/pull/11091
354-
result.covered_lines = list(tracer.counts) # type: ignore[attr-defined]
352+
result.covered_lines = list(tracer.counts)
355353
else:
356354
result = run_single_test(test_name, runtests)
357355

Tools/requirements-dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Requirements file for external linters and checks we run on
22
# Tools/clinic, Tools/cases_generator/, and Tools/peg_generator/ in CI
3-
mypy==1.8.0
3+
mypy==1.9.0
44

55
# needed for peg_generator:
66
types-psutil==5.9.5.20240316

0 commit comments

Comments
 (0)