Skip to content

Update code.py

Update code.py #6535

Workflow file for this run

name: SPDX and Pylint
on: [pull_request, push, repository_dispatch]
jobs:
spdx:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Checkout Current Repo
uses: actions/checkout@v4
- name: check SPDX licensing
run: python ./SPDX.py
pylint:
runs-on: ubuntu-latest
steps:
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Versions
run: |
python3 --version
- name: Pip install pylint
run: |
pip install --force-reinstall pylint==2.7.1
- name: Checkout Current Repo
uses: actions/checkout@v4
- name: lint
run: ./pylint_check.sh