Skip to content

Commit 76b16dc

Browse files
committed
Uplift pre-commints
1 parent 389c770 commit 76b16dc

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/pre-commit.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+
# Copyright 2023-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
#
33
# Redistribution and use in source and binary forms, with or without
44
# modification, are permitted provided that the following conditions
@@ -31,8 +31,8 @@ on:
3131

3232
jobs:
3333
pre-commit:
34-
runs-on: ubuntu-22.04
34+
runs-on: ubuntu-latest
3535
steps:
36-
- uses: actions/checkout@v3
37-
- uses: actions/setup-python@v3
38-
- uses: pre-commit/[email protected].0
36+
- uses: actions/checkout@v5.0.0
37+
- uses: actions/setup-python@v6.0.0
38+
- uses: pre-commit/[email protected].1

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+
# Copyright 2023-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
#
33
# Redistribution and use in source and binary forms, with or without
44
# modification, are permitted provided that the following conditions
@@ -25,7 +25,7 @@
2525
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626

2727
repos:
28-
- repo: https://github.com/timothycrosley/isort
28+
- repo: https://github.com/PyCQA/isort
2929
rev: 5.12.0
3030
hooks:
3131
- id: isort
@@ -36,7 +36,7 @@ repos:
3636
- id: black
3737
types_or: [python, cython]
3838
- repo: https://github.com/PyCQA/flake8
39-
rev: 5.0.4
39+
rev: 7.3.0
4040
hooks:
4141
- id: flake8
4242
args: [--max-line-length=88, --select=C,E,F,W,B,B950, --extend-ignore = E203,E501]
@@ -57,7 +57,7 @@ repos:
5757
# More details about these pre-commit hooks here:
5858
# https://pre-commit.com/hooks.html
5959
- repo: https://github.com/pre-commit/pre-commit-hooks
60-
rev: v4.4.0
60+
rev: v6.0.0
6161
hooks:
6262
- id: check-case-conflict
6363
- id: check-executables-have-shebangs

0 commit comments

Comments
 (0)