diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 27b49b24d9..af01200b19 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/PyCQA/bandit - rev: '1.9.2' + rev: '1.9.3' hooks: - id: bandit pass_filenames: false @@ -13,7 +13,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 25.12.0 + rev: 26.1.0 hooks: - id: black exclude: "versioneer.py|dpctl/_version.py" diff --git a/dpctl/__init__.py b/dpctl/__init__.py index 8c53ed7253..41661a6788 100644 --- a/dpctl/__init__.py +++ b/dpctl/__init__.py @@ -21,6 +21,7 @@ SYCL runtime classes described in :sycl_runtime_classes:`Section 4.6 <>` of the :sycl_spec_2020:`SYCL 2020 spec <>`. """ + __author__ = "Intel Corp." import os diff --git a/dpctl/enum_types.py b/dpctl/enum_types.py index 627ba31ac7..59d02a8fa1 100644 --- a/dpctl/enum_types.py +++ b/dpctl/enum_types.py @@ -20,6 +20,7 @@ backend and device_type enumerations. """ + from enum import Enum, auto __all__ = ["device_type", "backend_type", "event_status_type"] diff --git a/dpctl/memory/__init__.py b/dpctl/memory/__init__.py index 9b77f66244..436f08885d 100644 --- a/dpctl/memory/__init__.py +++ b/dpctl/memory/__init__.py @@ -28,6 +28,7 @@ `memoryview`, or `array.array` classes. """ + from ._memory import ( MemoryUSMDevice, MemoryUSMHost, diff --git a/dpctl/program/__init__.py b/dpctl/program/__init__.py index bddc8ae49b..4904d29a7c 100644 --- a/dpctl/program/__init__.py +++ b/dpctl/program/__init__.py @@ -20,6 +20,7 @@ file. """ + from ._program import ( SyclKernel, SyclProgram,