File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
numba_dpex/tests/kernel_tests Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 4
4
# See https://pre-commit.com/hooks.html for more hooks
5
5
repos :
6
6
- repo : https://github.com/PyCQA/bandit
7
- rev : ' 1.7.4 '
7
+ rev : ' 1.7.8 '
8
8
hooks :
9
9
- id : bandit
10
10
pass_filenames : false
11
11
args : ["-r", "numba_dpex", "-lll"]
12
12
- repo : https://github.com/pre-commit/pre-commit-hooks
13
- rev : v4.3 .0
13
+ rev : v4.5 .0
14
14
hooks :
15
15
- id : end-of-file-fixer
16
16
- id : trailing-whitespace
17
17
- repo : https://github.com/psf/black
18
- rev : 24.1.1
18
+ rev : 24.3.0
19
19
hooks :
20
20
- id : black
21
21
exclude : " numba_dpex/_version.py"
25
25
- id : blacken-docs
26
26
additional_dependencies : [black==22.10]
27
27
- repo : https://github.com/pycqa/isort
28
- rev : 5.12.0
28
+ rev : 5.13.2
29
29
hooks :
30
30
- id : isort
31
31
name : isort (python)
@@ -34,16 +34,16 @@ repos:
34
34
name : isort (cython)
35
35
types : [cython]
36
36
- repo : https://github.com/pycqa/flake8
37
- rev : 3.9.2
37
+ rev : 7.0.0
38
38
hooks :
39
39
- id : flake8
40
40
additional_dependencies : [flake8-eradicate]
41
41
- repo : https://github.com/koalaman/shellcheck-precommit
42
- rev : v0.8 .0
42
+ rev : v0.10 .0
43
43
hooks :
44
44
- id : shellcheck
45
45
- repo : https://github.com/pre-commit/mirrors-clang-format
46
- rev : v14.0.0
46
+ rev : v18.1.2
47
47
hooks :
48
48
- id : clang-format
49
49
args : ["-i"]
Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ def test_async_add():
63
63
c ,
64
64
)
65
65
66
- assert type (host_ref ) == dpctl .SyclEvent
67
- assert type (event_ref ) == dpctl .SyclEvent
66
+ assert isinstance (host_ref , dpctl .SyclEvent )
67
+ assert isinstance (event_ref , dpctl .SyclEvent )
68
68
assert host_ref is not None
69
69
assert event_ref is not None
70
70
You can’t perform that action at this time.
0 commit comments