Skip to content

Commit fe27eba

Browse files
authored
Merge branch 'master' into bump-conda-build-version
2 parents 0ba01ff + c8c0f88 commit fe27eba

File tree

91 files changed

+1531
-1316
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+1531
-1316
lines changed

.clang-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ BinPackParameters: false
1616
BraceWrapping:
1717
AfterCaseLabel: true
1818
AfterClass: true
19-
AfterControlStatement: MultiLine
19+
AfterControlStatement: Never
2020
AfterEnum: true
2121
AfterFunction: true
2222
AfterNamespace: true

.git-blame-ignore-revs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ c106d91b866f4acd30226b68519b12a73a881490
1717

1818
# Add pygrep-hooks to pre-commit config
1919
e62718415aa3660da5f607e352c991a063a54219
20+
21+
# Bump clang-format from 12.0.1 to 22.1.0 version
22+
c2d65bd451a7d8e5b6319147da95e9dabf7a382b

.github/workflows/build-sphinx.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747

4848
steps:
4949
- name: Cancel Previous Runs
50-
uses: styfle/cancel-workflow-action@3155a141048f8f89c06b4cdae32e7853e97536bc # 0.13.0
50+
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # 0.13.1
5151
with:
5252
access_token: ${{ github.token }}
5353

@@ -224,7 +224,7 @@ jobs:
224224
if: env.GH_EVENT_OPEN_PR_UPSTREAM == 'true'
225225
env:
226226
PR_NUM: ${{ github.event.number }}
227-
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2.8.2
227+
uses: mshick/add-pr-comment@ffd016c7e151d97d69d21a843022fd4cd5b96fe5 # v3.9.0.8.3.9.0
228228
with:
229229
message-id: url_to_docs
230230
message: |
@@ -268,7 +268,7 @@ jobs:
268268
git push tokened_docs gh-pages
269269
270270
- name: Modify the comment with URL to official documentation
271-
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2.8.2
271+
uses: mshick/add-pr-comment@ffd016c7e151d97d69d21a843022fd4cd5b96fe5 # v3.9.0.8.3.9.0
272272
with:
273273
message-id: url_to_docs
274274
find: |

.github/workflows/check-onemath.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
steps:
3636
- name: Cancel Previous Runs
37-
uses: styfle/cancel-workflow-action@3155a141048f8f89c06b4cdae32e7853e97536bc # 0.13.0
37+
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # 0.13.1
3838
with:
3939
access_token: ${{ github.token }}
4040

@@ -87,7 +87,7 @@ jobs:
8787
fetch-depth: 0
8888

8989
- name: Download artifact
90-
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
90+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
9191
with:
9292
name: ${{ env.environment-file-name }}
9393
path: ${{ env.environment-file-loc }}
@@ -181,7 +181,7 @@ jobs:
181181
fetch-depth: 0
182182

183183
- name: Download artifact
184-
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
184+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
185185
with:
186186
name: ${{ env.environment-file-name }}
187187
path: ${{ env.environment-file-loc }}

.github/workflows/conda-package.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949

5050
steps:
5151
- name: Cancel Previous Runs
52-
uses: styfle/cancel-workflow-action@3155a141048f8f89c06b4cdae32e7853e97536bc # 0.13.0
52+
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # 0.13.1
5353
with:
5454
access_token: ${{ github.token }}
5555

@@ -151,7 +151,7 @@ jobs:
151151
path: ${{ env.dpnp-repo-path }}
152152

153153
- name: Download artifact
154-
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
154+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
155155
with:
156156
name: ${{ env.package-name }} ${{ runner.os }} Python ${{ matrix.python }}
157157
path: ${{ env.pkg-path-in-channel }}
@@ -280,7 +280,7 @@ jobs:
280280
path: ${{ env.dpnp-repo-path }}
281281

282282
- name: Download artifact
283-
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
283+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
284284
with:
285285
name: ${{ env.package-name }} ${{ runner.os }} Python ${{ matrix.python }}
286286
path: ${{ env.pkg-path-in-channel }}
@@ -439,12 +439,12 @@ jobs:
439439
fetch-depth: ${{ env.fetch-depth }}
440440

441441
- name: Download artifact
442-
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
442+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
443443
with:
444444
name: ${{ env.package-name }} ${{ runner.os }} Python ${{ matrix.python }}
445445

446446
- name: Download wheels artifact
447-
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
447+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
448448
with:
449449
name: ${{ env.package-name }} ${{ runner.os }} Wheels Python ${{ matrix.python }}
450450

@@ -528,7 +528,7 @@ jobs:
528528
path: ${{ env.dpnp-repo-path }}
529529

530530
- name: Download artifact
531-
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
531+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
532532
with:
533533
name: ${{ env.package-name }} ${{ runner.os }} Python ${{ env.python-ver }}
534534
path: ${{ env.pkg-path-in-channel }}
@@ -654,7 +654,7 @@ jobs:
654654

655655
- name: Post result to PR
656656
if: ${{ github.event.pull_request && !github.event.pull_request.head.repo.fork }}
657-
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2.8.2
657+
uses: mshick/add-pr-comment@ffd016c7e151d97d69d21a843022fd4cd5b96fe5 # v3.9.0.8.3.9.0
658658
with:
659659
message-id: array_api_results
660660
message: |

.github/workflows/cron-run-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343

4444
steps:
4545
- name: Cancel Previous Runs
46-
uses: styfle/cancel-workflow-action@3155a141048f8f89c06b4cdae32e7853e97536bc # 0.13.0
46+
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # 0.13.1
4747
with:
4848
access_token: ${{ github.token }}
4949

.github/workflows/generate_coverage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
steps:
3535
- name: Cancel Previous Runs
36-
uses: styfle/cancel-workflow-action@3155a141048f8f89c06b4cdae32e7853e97536bc # 0.13.0
36+
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # 0.13.1
3737
with:
3838
access_token: ${{ github.token }}
3939

.github/workflows/openssf-scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@ jobs:
7272

7373
# Upload the results to GitHub's code scanning dashboard.
7474
- name: "Upload to code-scanning"
75-
uses: github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
75+
uses: github/codeql-action/upload-sarif@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
7676
with:
7777
sarif_file: results.sarif

.github/workflows/pre-commit.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@ jobs:
1515
timeout-minutes: 10
1616

1717
steps:
18-
- name: Set up clang-format
19-
run: |
20-
sudo apt-get install -y clang-format-12
21-
sudo unlink /usr/bin/clang-format
22-
sudo ln -s /usr/bin/clang-format-12 /usr/bin/clang-format
23-
clang-format --version
24-
2518
- name: Set up pip packages
2619
uses: BSFishy/pip-action@8f2d471d809dc20b6ada98c91910b6ae6243f318 # v1
2720
with:

.pre-commit-config.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,19 @@ repos:
5757
hooks:
5858
- id: pyupgrade
5959
- repo: https://github.com/codespell-project/codespell
60-
rev: v2.4.1
60+
rev: v2.4.2
6161
hooks:
6262
- id: codespell
6363
args: ["-L", "abd"] # ignore "abd" used in einsum tests
6464
additional_dependencies:
6565
- tomli
6666
- repo: https://github.com/psf/black
67-
rev: 26.1.0
67+
rev: 26.3.1
6868
hooks:
6969
- id: black
7070
exclude: "dpnp/_version.py"
7171
- repo: https://github.com/pycqa/isort
72-
rev: 8.0.0
72+
rev: 8.0.1
7373
hooks:
7474
- id: isort
7575
name: isort (python)
@@ -88,13 +88,13 @@ repos:
8888
additional_dependencies:
8989
- flake8-docstrings==1.7.0
9090
- flake8-bugbear==24.12.12
91-
- repo: https://github.com/pocc/pre-commit-hooks
92-
rev: v1.3.5
91+
- repo: https://github.com/pre-commit/mirrors-clang-format
92+
rev: v22.1.0
9393
hooks:
9494
- id: clang-format
9595
args: ["-i"]
9696
- repo: https://github.com/gitleaks/gitleaks
97-
rev: v8.30.0
97+
rev: v8.30.1
9898
hooks:
9999
- id: gitleaks
100100
- repo: https://github.com/jumanjihouse/pre-commit-hooks
@@ -114,7 +114,8 @@ repos:
114114
"-sn", # Don't display the score
115115
"--disable=import-error",
116116
"--disable=redefined-builtin",
117-
"--disable=unused-wildcard-import"
117+
"--disable=unused-wildcard-import",
118+
"--disable=c-extension-no-member"
118119
]
119120
files: '^dpnp/(dpnp_iface.*|fft|linalg|scipy|dpnp_array)'
120121
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
@@ -127,7 +128,7 @@ repos:
127128
hooks:
128129
- id: actionlint
129130
- repo: https://github.com/BlankSpruce/gersemi
130-
rev: 0.26.0
131+
rev: 0.26.1
131132
hooks:
132133
- id: gersemi
133134
exclude: "dpnp/backend/cmake/Modules/"

0 commit comments

Comments
 (0)