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

Appearance settings

Commit f9c45f8

Browse filesBrowse files
authored
Merge pull request #20680 from charris/backport-20663
TYP,TST: Bump mypy to 0.930
2 parents b3d8274 + b5f179b commit f9c45f8
Copy full SHA for f9c45f8

File tree

Expand file treeCollapse file tree

3 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+3
-3
lines changed

‎environment.yml

Copy file name to clipboardExpand all lines: environment.yml
+1-1Lines 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

Copy file name to clipboardExpand all lines: numpy/typing/tests/data/fail/scalars.pyi
+1-1Lines 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
class A:
3737
def __float__(self):

‎test_requirements.txt

Copy file name to clipboardExpand all lines: test_requirements.txt
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.