Skip to content

Commit d46b990

Browse files
committed
appease black
1 parent 11f53c6 commit d46b990

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

threadpoolctl/__init__.pyi

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ from typing_extensions import Never, Self, TypeAlias, TypedDict, TypeVar, overri
1010

1111
_CDataT = TypeVar("_CDataT", bound=ctypes._CData) # pyright: ignore[reportPrivateUsage]
1212
_PythonT = TypeVar("_PythonT") # pyright: ignore[reportPrivateUsage]
13-
_CField: TypeAlias = ctypes._CField[_CDataT, _PythonT, _CDataT | _PythonT] # pyright: ignore[reportPrivateUsage]
13+
_CField: TypeAlias = ctypes._CField[ # pyright: ignore[reportPrivateUsage]
14+
_CDataT, _PythonT, _CDataT | _PythonT
15+
]
1416

1517
_ThreadingLayerOpenBLAS: TypeAlias = _ThreadingLayerBLIS | Literal["unknown"]
1618
_ThreadingLayerBLIS: TypeAlias = Literal["openmp", "pthreads", "disabled"]
@@ -283,7 +285,9 @@ class ThreadpoolController:
283285

284286
if sys.platform == "win32":
285287
@classmethod
286-
def _get_windll(cls, dll_name: str) -> ctypes.WinDLL: ... # pyright: ignore[reportRedeclaration]
288+
def _get_windll( # pyright: ignore[reportRedeclaration]
289+
cls, dll_name: str
290+
) -> ctypes.WinDLL: ...
287291

288292
else:
289293
@classmethod

0 commit comments

Comments
 (0)