👷(summary) add CI job to lint Python summary sources

Implement CI job to lint summary Python sources and enforce merging
only linted code to maintain code quality standards.
This commit is contained in:
lebaudantoine
2025-08-23 01:45:29 +02:00
committed by aleb_the_flash
parent 3c13e287e6
commit 2ceb94a966

View File

@@ -112,6 +112,26 @@ jobs:
- name: Lint code with ruff
run: ~/.local/bin/ruff check .
lint-summary:
runs-on: ubuntu-latest
defaults:
run:
working-directory: src/summary
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip"
- name: Install development dependencies
run: pip install --user .[dev]
- name: Check code formatting with ruff
run: ~/.local/bin/ruff format . --diff
- name: Lint code with ruff
run: ~/.local/bin/ruff check .
test-back:
runs-on: ubuntu-latest
needs: build-mails