Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ repos:
args: ["--config=.flake8"]
additional_dependencies:
- flake8-docstrings==1.7.0
- flake8-bugbear==25.11.29
- flake8-bugbear==26.9.9
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v23.1.0
rev: v23.1.1
hooks:
- id: clang-format
args: ["-i"]
Expand Down
3 changes: 2 additions & 1 deletion dpnp/dpnp_iface_manipulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -3860,7 +3860,8 @@ def split(ary, indices_or_sections, axis=0):
raise IndexError("Axis exceeds ndim")

try:
len(indices_or_sections)
# check if `indices_or_sections` is a sequence of indices
_ = len(indices_or_sections)
except TypeError:
if ary.shape[axis] % indices_or_sections != 0:
raise ValueError(
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ requires = [
]

[project]
authors = [{name = "Intel Corporation"}]
authors = [{ name = "Intel Corporation" }]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
Expand Down Expand Up @@ -69,9 +69,9 @@ keywords = [
]
license = "BSD-3-Clause"
license-files = ["LICENSE.txt"]
maintainers = [{name = "Intel Corporation"}]
maintainers = [{ name = "Intel Corporation" }]
name = "dpnp"
readme = {file = "README.md", content-type = "text/markdown"}
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.10,<3.15"

[project.optional-dependencies]
Expand Down
Loading