Skip to content

Commit c7cdd41

Browse files
authored
Upgraded flake8 and black to newer version (#1505)
1 parent 689831a commit c7cdd41

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ repos:
4343
- id: rst-inline-touching-normal
4444
- id: text-unicode-replacement-char
4545
- repo: https://github.com/psf/black
46-
rev: 23.3.0
46+
rev: 23.7.0
4747
hooks:
4848
- id: black
4949
args: ["--check", "--diff", "--color"]
@@ -59,7 +59,7 @@ repos:
5959
name: isort (pyi)
6060
types: [pyi]
6161
- repo: https://github.com/pycqa/flake8
62-
rev: 6.0.0
62+
rev: 6.1.0
6363
hooks:
6464
- id: flake8
6565
args: ["--config=.flake8"]

dpnp/dpnp_iface_indexing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ def put(x1, ind, v, mode="raise"):
435435
if x1_desc:
436436
if mode != "raise":
437437
pass
438-
elif type(ind) != type(v):
438+
elif type(ind) is not type(v):
439439
pass
440440
elif (
441441
numpy.max(ind) >= x1_desc.size or numpy.min(ind) + x1_desc.size < 0

0 commit comments

Comments
 (0)