Skip to content

Commit eb6d70b

Browse files
committed
Update mypy to 2.0.0
Remove command line options that are now the default.
1 parent ac78486 commit eb6d70b

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

requirements-tests.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Type checkers that we test our stubs against. These should always
22
# be pinned to a specific version to make failure reproducible.
3-
mypy==1.20.0
3+
mypy==2.0.0
44
pyright==1.1.408
55

66
# Libraries used by our various scripts.

tests/typecheck_typeshed.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ def run_mypy_as_subprocess(directory: str, platform: str, version: str) -> Retur
5555
"--python-version",
5656
version,
5757
"--strict",
58-
"--strict-bytes",
59-
"--local-partial-types",
6058
"--pretty",
6159
"--show-traceback",
6260
"--no-error-summary",

0 commit comments

Comments
 (0)