Skip to content

Commit 7157ac8

Browse files
authored
Update CI linting configuration and commands
Updated the CI workflow to use a new lint container image and modified Python commands to use python3. Signed-off-by: Camille Dunning <dunningcamille@gmail.com>
1 parent 6c70621 commit 7157ac8

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,19 @@ jobs:
2121
runs-on: ubuntu-latest
2222
timeout-minutes: 10
2323
container:
24-
image: python:3.10-slim
24+
image: ghcr.io/nvidia/cutile-python/lint:2025-12-06-4cb7d16e4c20
2525
steps:
2626
- name: Checkout repository
2727
uses: actions/checkout@v6
2828

29-
- name: Install lint dependencies
30-
env:
31-
PIP_BREAK_SYSTEM_PACKAGES: 1
32-
run: pip install --no-cache-dir flake8==7.3.0 reuse==5.1.0
33-
3429
- name: Run flake8
3530
run: flake8
3631

3732
- name: Run cpplint
38-
run: python ci/cpplint.py
33+
run: python3 ci/cpplint.py
3934

4035
- name: Check license headers (REUSE)
4136
run: ci/scripts/check_license.sh
4237

4338
- name: Check inline samples are up to date
44-
run: python test/tools/inline_samples.py --check
39+
run: python3 test/tools/inline_samples.py --check

0 commit comments

Comments
 (0)