Skip to content

Commit 77c448a

Browse files
Weekly pre-commit autoupdate (#2737)
This PR updates the `.pre-commit-config.yaml` using `pre-commit autoupdate`.
1 parent dc86084 commit 77c448a

20 files changed

+20
-53
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
44
- repo: https://github.com/PyCQA/bandit
5-
rev: '1.9.2'
5+
rev: '1.9.3'
66
hooks:
77
- id: bandit
88
pass_filenames: false
@@ -64,7 +64,7 @@ repos:
6464
additional_dependencies:
6565
- tomli
6666
- repo: https://github.com/psf/black
67-
rev: 25.12.0
67+
rev: 26.1.0
6868
hooks:
6969
- id: black
7070
exclude: "dpnp/_version.py"

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)

0 commit comments

Comments
 (0)