Skip to content

Commit 408dce0

Browse files
committed
Update mypy to 2.1.0
1 parent 54a5fd4 commit 408dce0

3 files changed

Lines changed: 3 additions & 7 deletions

File tree

Lib/tomllib/mypy.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,4 @@ pretty = True
1212
# Enable most stricter settings
1313
enable_error_code = ignore-without-code
1414
strict = True
15-
strict_bytes = True
16-
local_partial_types = True
1715
warn_unreachable = True

Tools/build/mypy.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ python_version = 3.10
2424

2525
# ...And be strict:
2626
strict = True
27-
strict_bytes = True
28-
local_partial_types = True
2927
extra_checks = True
3028
enable_error_code = ignore-without-code,redundant-expr,truthy-bool,possibly-undefined
3129
warn_unreachable = True

Tools/requirements-dev.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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.19.1
3+
mypy==2.1.0
44

55
# needed for peg_generator:
6-
types-psutil==7.2.2.20260130
7-
types-setuptools==82.0.0.20260210
6+
types-psutil==7.2.2.20260508
7+
types-setuptools==82.0.0.20260508

0 commit comments

Comments
 (0)