Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf9c45f8

Browse files
authored
Merge pull request#20680 from charris/backport-20663
TYP,TST: Bump mypy to 0.930
2 parentsb3d8274 +b5f179b commitf9c45f8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎environment.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies:
1919
-pytest-xdist
2020
-hypothesis
2121
# For type annotations
22-
-mypy=0.920
22+
-mypy=0.930
2323
# For building docs
2424
-sphinx=4.1.1
2525
-numpydoc=1.1.0

‎numpy/typing/tests/data/fail/scalars.pyi‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ np.complex64([]) # E: incompatible type
3131
np.complex64(1,2)# E: Too many arguments
3232
# TODO: protocols (can't check for non-existent protocols w/ __getattr__)
3333

34-
np.datetime64(0)# E:non-matching overload
34+
np.datetime64(0)# E:No overload variant
3535

3636
classA:
3737
def__float__(self):

‎test_requirements.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ pytest-cov==3.0.0
99
cffi; python_version < '3.10'
1010
# For testing types. Notes on the restrictions:
1111
# - Mypy relies on C API features not present in PyPy
12-
mypy==0.920; platform_python_implementation != "PyPy"
12+
mypy==0.930; platform_python_implementation != "PyPy"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp