Skip to content

Commit 76c76c0

Browse files
committed
fixing typing comments
1 parent 773c945 commit 76c76c0

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

quaddtype/meson.build

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ incdir_numpy = run_command(py,
2424
check : true
2525
).stdout().strip()
2626

27+
# print numpy version used
28+
numpy_version = run_command(py,
29+
['-c', 'import numpy; print(numpy.__version__)'],
30+
check : true
31+
).stdout().strip()
32+
message('Using NumPy version: @0@'.format(numpy_version))
33+
2734
npymath_path = incdir_numpy / '..' / 'lib'
2835
npymath_lib = c.find_library('npymath', dirs: npymath_path)
2936

quaddtype/numpy_quaddtype/_quaddtype_main.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ class QuadPrecision: # NOTE: It doesn't inherit from `np.generic` which is type
8181

8282
# Binary operators
8383
def __add__(self, other: _CastsQuad, /) -> Self: ...
84-
def __radd__(self, other: _CastsQuad, /) -> Self: ... # type: ignore[misc]
84+
def __radd__(self, other: _CastsQuad, /) -> Self: ...
8585
def __sub__(self, other: _CastsQuad, /) -> Self: ...
8686
def __rsub__(self, other: _CastsQuad, /) -> Self: ...
8787
def __mul__(self, other: _CastsQuad, /) -> Self: ...
88-
def __rmul__(self, other: _CastsQuad, /) -> Self: ... # type: ignore[misc]
88+
def __rmul__(self, other: _CastsQuad, /) -> Self: ...
8989
def __pow__(self, other: _CastsQuad, mod: None = None, /) -> Self: ...
9090
def __rpow__(self, other: _CastsQuad, mod: None = None, /) -> Self: ...
9191
def __truediv__(self, other: _CastsQuad, /) -> Self: ...

0 commit comments

Comments
 (0)