Skip to content

Commit 3cd73db

Browse files
committed
fix: fix typing error
1 parent 50dff4c commit 3cd73db

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

.pre-commit-config.yaml

-16
Original file line numberDiff line numberDiff line change
@@ -58,19 +58,3 @@ repos:
5858
- --ignore-missing-imports
5959
- --config=pyproject.toml
6060
files: ".*(_draft.*)$"
61-
exclude: |
62-
(?x)^(
63-
.*creation_functions.py|
64-
.*data_type_functions.py|
65-
.*elementwise_functions.py|
66-
.*fft.py|
67-
.*indexing_functions.py|
68-
.*linalg.py|
69-
.*linear_algebra_functions.py|
70-
.*manipulation_functions.py|
71-
.*searching_functions.py|
72-
.*set_functions.py|
73-
.*sorting_functions.py|
74-
.*statistical_functions.py|
75-
.*utility_functions.py|
76-
)$

src/array_api_stubs/_draft/linalg.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ def trace(x: array, /, *, offset: int = 0, dtype: Optional[dtype] = None) -> arr
781781
"""
782782

783783

784-
def vecdot(x1: array, x2: array, /, *, axis: int | None = None) -> array:
784+
def vecdot(x1: array, x2: array, /, *, axis: Optional[int] = None) -> array:
785785
"""Alias for :func:`~array_api.vecdot`."""
786786

787787

0 commit comments

Comments
 (0)