Skip to content

Commit e23dda5

Browse files
committed
Fix pre-commit issues
1 parent 07babc0 commit e23dda5

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

dpnp/dpnp_iface_searching.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,14 @@
3737
3838
"""
3939

40+
# pylint: disable=no-name-in-module
4041

4142
import dpctl.tensor as dpt
4243
import dpctl.tensor._tensor_impl as dti
4344

4445
import dpnp
4546

4647
from .dpnp_array import dpnp_array
47-
48-
# pylint: disable=no-name-in-module
4948
from .dpnp_utils import (
5049
get_usm_allocations,
5150
)

dpnp/dpnp_utils/dpnp_utils_reduction.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030
__all__ = ["dpnp_wrap_reduction_call"]
3131

3232

33-
def dpnp_wrap_reduction_call(a, out, _reduction_fn, _get_res_dt_fn, *args, **kwargs):
33+
def dpnp_wrap_reduction_call(
34+
a, out, _reduction_fn, _get_res_dt_fn, *args, **kwargs
35+
):
3436
"""Wrap a reduction call from dpctl.tensor interface."""
3537

3638
input_out = out
@@ -39,7 +41,7 @@ def dpnp_wrap_reduction_call(a, out, _reduction_fn, _get_res_dt_fn, *args, **kwa
3941
else:
4042
dpnp.check_supported_arrays_type(out)
4143

42-
# fetch dtype from the passsed kwargs to the reduction call
44+
# fetch dtype from the passed kwargs to the reduction call
4345
dtype = kwargs.get("dtype", None)
4446

4547
# dpctl requires strict data type matching of out array with the result

0 commit comments

Comments
 (0)