Skip to content

Commit cb9aa13

Browse files
Updated .pre-commit-config to use black 22.1.0
Modified dpctl/tests/test_sycl_event.py per black's whim
1 parent 955b6a2 commit cb9aa13

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repos:
1313
- id: end-of-file-fixer
1414
- id: trailing-whitespace
1515
- repo: https://github.com/psf/black
16-
rev: 21.10b0
16+
rev: 22.1.0
1717
hooks:
1818
- id: black
1919
exclude: "versioneer.py|dpctl/_version.py"

dpctl/tests/test_sycl_event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def test_sycl_timer():
202202
# device task
203203
m1.copy_from_device(m2)
204204
# host task
205-
[x ** 2 for x in range(1024)]
205+
[x**2 for x in range(1024)]
206206
host_dt, device_dt = timer.dt
207207
assert host_dt > device_dt
208208
q_no_profiling = dpctl.SyclQueue()

0 commit comments

Comments
 (0)