Skip to content

Commit

Permalink
Update pre-commit versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ZzEeKkAa committed Mar 28, 2024
1 parent b8c72fd commit d0e21f1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/PyCQA/bandit
rev: '1.7.4'
rev: '1.7.8'
hooks:
- id: bandit
pass_filenames: false
args: ["-r", "numba_dpex", "-lll"]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.5.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 24.1.1
rev: 24.3.0
hooks:
- id: black
exclude: "numba_dpex/_version.py"
Expand All @@ -25,7 +25,7 @@ repos:
- id: blacken-docs
additional_dependencies: [black==22.10]
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
Expand All @@ -34,16 +34,16 @@ repos:
name: isort (cython)
types: [cython]
- repo: https://github.com/pycqa/flake8
rev: 3.9.2
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies: [flake8-eradicate]
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.8.0
rev: v0.10.0
hooks:
- id: shellcheck
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v14.0.0
rev: v18.1.2
hooks:
- id: clang-format
args: ["-i"]
Expand Down
4 changes: 2 additions & 2 deletions numba_dpex/tests/kernel_tests/test_async_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ def test_async_add():
c,
)

assert type(host_ref) == dpctl.SyclEvent
assert type(event_ref) == dpctl.SyclEvent
assert isinstance(host_ref, dpctl.SyclEvent)
assert isinstance(event_ref, dpctl.SyclEvent)
assert host_ref is not None
assert event_ref is not None

Expand Down

0 comments on commit d0e21f1

Please sign in to comment.