Skip to content

Commit e96dae1

Browse files
committed
Apply new black formatting rules
1 parent 969421b commit e96dae1

File tree

19 files changed

+18
-51
lines changed

19 files changed

+18
-51
lines changed

dpnp/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,6 @@
566566
kaiser,
567567
)
568568

569-
570569
# =============================================================================
571570
# Helper functions
572571
# =============================================================================

dpnp/dpnp_container.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
3636
"""
3737

38-
3938
import dpctl.tensor as dpt
4039
import dpctl.utils as dpu
4140

dpnp/dpnp_iface.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
- The functions parameters check
3939
4040
"""
41+
4142
# pylint: disable=protected-access
4243

4344
import os

dpnp/dpnp_iface_arraycreation.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
4040
"""
4141

42-
4342
# pylint: disable=duplicate-code
4443

4544
import operator

dpnp/dpnp_iface_manipulation.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
4040
"""
4141

42-
4342
import math
4443
import operator
4544
import warnings
@@ -3418,7 +3417,7 @@ def rot90(m, k=1, axes=(0, 1)):
34183417
return dpnp.flip(dpnp.flip(m, axes[0]), axes[1])
34193418

34203419
axes_list = list(range(0, m_ndim))
3421-
(axes_list[axes[0]], axes_list[axes[1]]) = (
3420+
axes_list[axes[0]], axes_list[axes[1]] = (
34223421
axes_list[axes[1]],
34233422
axes_list[axes[0]],
34243423
)

dpnp/linalg/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
3636
"""
3737

38-
3938
from .dpnp_iface_linalg import (
4039
LinAlgError,
4140
cholesky,

dpnp/random/dpnp_random_state.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
3737
"""
3838

39-
4039
import dpctl.utils as dpu
4140
import numpy
4241

dpnp/scipy/linalg/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
3636
"""
3737

38-
3938
from ._decomp_lu import lu_factor, lu_solve
4039

4140
__all__ = [

dpnp/scipy/linalg/_decomp_lu.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
4040
"""
4141

42-
4342
import dpnp
4443
from dpnp.linalg.dpnp_utils_linalg import (
4544
assert_stacked_2d,
@@ -181,7 +180,7 @@ def lu_solve(lu_and_piv, b, trans=0, overwrite_b=False, check_finite=True):
181180
182181
"""
183182

184-
(lu, piv) = lu_and_piv
183+
lu, piv = lu_and_piv
185184
dpnp.check_supported_arrays_type(lu, piv, b)
186185
assert_stacked_2d(lu)
187186
assert_stacked_square(lu)

dpnp/scipy/linalg/_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
3838
"""
3939

40-
4140
# pylint: disable=no-name-in-module
4241
# pylint: disable=protected-access
4342

0 commit comments

Comments
 (0)