Skip to content

Commit

Permalink
Bump mypy from 1.8.0 to 1.9.0 in /Tools (python#117418)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <[email protected]>
  • Loading branch information
dependabot[bot] and AlexWaygood authored Apr 1, 2024
1 parent 9b403fb commit 348cf6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions Lib/test/libregrtest/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,7 @@ def run_test(
namespace = dict(locals())
tracer.runctx(cmd, globals=globals(), locals=namespace)
result = namespace['result']
# Mypy doesn't know about this attribute yet,
# but it will do soon: https://github.com/python/typeshed/pull/11091
result.covered_lines = list(tracer.counts) # type: ignore[attr-defined]
result.covered_lines = list(tracer.counts)
else:
result = run_single_test(test_name, runtests)

Expand Down
2 changes: 1 addition & 1 deletion Tools/requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Requirements file for external linters and checks we run on
# Tools/clinic, Tools/cases_generator/, and Tools/peg_generator/ in CI
mypy==1.8.0
mypy==1.9.0

# needed for peg_generator:
types-psutil==5.9.5.20240316
Expand Down

0 comments on commit 348cf6e

Please sign in to comment.