Commit 11fa554 1 parent 172ef62 commit 11fa554 Copy full SHA for 11fa554
File tree 3 files changed +31
-2
lines changed
3 files changed +31
-2
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,21 @@ jobs:
16
16
- test-conda-nightly-env
17
17
secrets : inherit
18
18
uses : rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@branch-25.02
19
+ checks :
20
+ runs-on : ubuntu-latest
21
+ steps :
22
+ - uses : actions/checkout@v4
23
+ with :
24
+ fetch-depth : 1
25
+ - uses : pre-commit/action@v3.0.1
19
26
build :
27
+ needs : checks
20
28
secrets : inherit
21
29
uses : rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-25.02
22
30
with :
23
31
build_type : pull-request
24
32
test-conda-nightly-env :
33
+ needs : checks
25
34
secrets : inherit
26
35
# We use a build workflow so that we get CPU jobs and high matrix coverage
27
36
uses : rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-25.02
Original file line number Diff line number Diff line change
1
+ ---
2
+ # Copyright (c) 2025, NVIDIA CORPORATION.
3
+
4
+ repos :
5
+ - repo : https://github.com/pre-commit/pre-commit-hooks
6
+ rev : v5.0.0
7
+ hooks :
8
+ - id : trailing-whitespace
9
+ - id : check-added-large-files
10
+ - id : end-of-file-fixer
11
+ - repo : https://github.com/astral-sh/ruff-pre-commit
12
+ rev : v0.9.3
13
+ hooks :
14
+ - id : ruff
15
+ args : ["--fix"]
16
+ - id : ruff-format
17
+ - repo : https://github.com/rapidsai/pre-commit-hooks
18
+ rev : v0.5.0
19
+ hooks :
20
+ - id : verify-copyright
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2024-2025, NVIDIA CORPORATION.
1
2
import json
2
3
import re
3
- import subprocess
4
4
import sys
5
5
from datetime import datetime , timedelta
6
6
@@ -139,7 +139,7 @@ def check_env(json_path):
139
139
140
140
if __name__ == "__main__" :
141
141
if len (sys .argv ) != 2 :
142
- print ("Provide only one argument, the filepath to a JSON output from " " conda." )
142
+ print ("Provide only one argument, the filepath to a JSON output from conda." )
143
143
sys .exit (1 )
144
144
145
145
sys .exit (check_env (sys .argv [1 ]))
You can’t perform that action at this time.
0 commit comments