Skip to content

Commit 587918a

Browse files
authored
Update pre-commit config to the latest versions (#2438)
The PR bumps versions used in the `pre-commit` config.
1 parent b15a4cc commit 587918a

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
@@ -66,7 +66,7 @@ repos:
6666
name: isort (pyi)
6767
types: [pyi]
6868
- repo: https://github.com/pycqa/flake8
69-
rev: 7.1.2
69+
rev: 7.2.0
7070
hooks:
7171
- id: flake8
7272
args: ["--config=.flake8"]
@@ -79,7 +79,7 @@ repos:
7979
- id: clang-format
8080
args: ["-i"]
8181
- repo: https://github.com/gitleaks/gitleaks
82-
rev: v8.24.0
82+
rev: v8.25.1
8383
hooks:
8484
- id: gitleaks
8585
- repo: https://github.com/jumanjihouse/pre-commit-hooks

dpnp/random/dpnp_iface_random.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1672,7 +1672,7 @@ def seed(seed=None, device=None, sycl_queue=None):
16721672
"""
16731673

16741674
# update a mt19937 random number for both RandomState and legacy functionality
1675-
global _dpnp_random_states
1675+
global _dpnp_random_states # noqa: F824
16761676

16771677
sycl_queue = dpnp.get_normalized_queue_device(
16781678
device=device, sycl_queue=sycl_queue

0 commit comments

Comments
 (0)