Skip to content

Fix pylint #555

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
Ansible:
name: Run Ansible lint tests
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.x
Expand All @@ -30,7 +30,7 @@ jobs:
yamllint .github/workflows/*yml
Packer:
name: Run Packer lint tests
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
working-directory: packer
Python:
name: Run Python lint tests
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -70,16 +70,13 @@ jobs:
- name: Install Ubuntu dependencies
run: |
sudo apt-get update
sudo apt-get -q install python3-gi-cairo gir1.2-gtk-3.0 libgirepository1.0-dev gir1.2-vte-2.91
- name: Install dependencies
run: |
pip3 install pyyaml pygobject pylint click PyGithub jinja2 aiohttp pyxdg
sudo apt-get -q install pylint python3-aiohttp python3-xdg python3-gi python3-gi-cairo gir1.2-gtk-3.0 gir1.2-vte-2.91 python3-yaml python3-jinja2
- name: Run pylint
run: |
pylint roles/*/*/*.py scripts/*.py
Shell:
name: Run Shell linting
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@master
Expand All @@ -94,7 +91,7 @@ jobs:
shellcheck --shell=bash scripts/oem-build roles/user/files/csvmprofile
Hashes:
name: Validate file hashes
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
Loading