Skip to content

Commit 3345fdf

Browse files
antonwolfyvtavana
andauthored
Enable pre-commit pylint check in linalg module (#1827)
* Enable pre-commit pylint check in linalg module * Split helping linalg functions into smaller functions * Apply pylint rules to linalg interface * Resolve reshape issue in _norm_tuple_axis * Update dpnp/linalg/dpnp_iface_linalg.py Co-authored-by: vtavana <[email protected]> --------- Co-authored-by: vtavana <[email protected]>
1 parent 91355bc commit 3345fdf

File tree

5 files changed

+1431
-1137
lines changed

5 files changed

+1431
-1137
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,4 @@ repos:
100100
"--disable=redefined-builtin",
101101
"--disable=unused-wildcard-import"
102102
]
103-
files: '^dpnp/dpnp_iface.*'
103+
files: '^dpnp/(dpnp_iface.*|linalg)'

dpnp/linalg/__init__.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@
2424
# THE POSSIBILITY OF SUCH DAMAGE.
2525
# *****************************************************************************
2626

27+
"""
28+
``dpnp.linalg``
29+
================
30+
31+
The DPNP linear algebra functions rely on BLAS and LAPACK to provide efficient
32+
low level implementations of standard linear algebra algorithms.
33+
34+
"""
35+
36+
2737
from dpnp.linalg.dpnp_iface_linalg import *
2838
from dpnp.linalg.dpnp_iface_linalg import __all__ as __all__linalg
2939

0 commit comments

Comments
 (0)