Skip to content

Commit 431162b

Browse files
authored
remove unintended re-exports to reduce requirements (#327)
1 parent 311509d commit 431162b

File tree

6 files changed

+1
-12
lines changed

6 files changed

+1
-12
lines changed

stubs/sklearn/manifold/_spectral_embedding.pyi

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ from typing import Any, Callable, ClassVar, Literal, TypeVar
33

44
from numpy import ndarray
55
from numpy.random import RandomState
6-
from pyamg import smoothed_aggregation_solver as smoothed_aggregation_solver
76
from scipy import sparse as sparse
87
from scipy.linalg import eigh as eigh
98
from scipy.sparse._coo import coo_matrix

stubs/sklearn/utils/_testing.pyi

-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ from numpy.testing import (
4747
assert_array_equal,
4848
assert_array_less,
4949
)
50-
from numpydoc import docscrape as docscrape
5150

5251
from .._typing import ArrayLike, Float, Int, MatrixLike
5352
from ..metrics import accuracy_score as accuracy_score, r2_score as r2_score

stubs/vispy/gloo/gl/_pyopengl2.pyi

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
import ctypes
22

3-
import OpenGL.GL.framebufferobjects as FBO
4-
from OpenGL import GL
5-
63
def glBindAttribLocation(program, index, name): ...
74
def glBufferData(target, data, usage): ...
85
def glBufferSubData(target, offset, data): ...

stubs/vispy/gloo/gl/glplus.pyi

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# Copyright (c) Vispy Development Team. All Rights Reserved.
33
# Distributed under the (new) BSD License. See LICENSE.txt for more info.
44

5-
from OpenGL import GL as _GL
6-
75
from . import _constants, _pyopengl2
86

97
def _inject(): ...

stubs/vispy/gloo/gl/pyopengl2.pyi

-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
# Copyright (c) Vispy Development Team. All Rights Reserved.
33
# Distributed under the (new) BSD License. See LICENSE.txt for more info.
44

5-
import OpenGL.GL.framebufferobjects as _FBO
6-
from OpenGL import GL as _GL
7-
85
from ...util import logger
96
from . import _copy_gl_functions
107
from ._constants import * # noqa

tests/requirements.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ typing_extensions
1313
# Untyped libraries, used to prevent "reportMissingImports" and get inferred typing
1414
joblib
1515
networkx
16-
numpydoc
17-
pyamg
1816
PyOpenGL
1917
scikit-learn
2018
sympy
2119
traitlets
2220
transformers
21+
transformers

0 commit comments

Comments
 (0)