Files
computer-playbook/.github/workflows/lint-python.yml
T
kevinveenbirkenbach 81c10109f1 Fix and normalize remaining GitHub Actions job names
- Normalize build CI image job title
- Rename Python lint job to match naming convention
- Add missing job name to release workflow
- Fix broken job name syntax in local deploy workflow

https://chatgpt.com/share/69886b6c-4288-800f-a6b7-d4a2325a8e62
2026-02-08 11:54:25 +01:00

36 lines
635 B
YAML

name: Python Linter
on:
workflow_call:
permissions:
contents: read
jobs:
lint-python:
name: 🧹 Lint Python code
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install ruff
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Ruff (lint)
run: |
ruff check .
- name: Ruff (format check)
run: |
ruff format --check .