👷(agents) add CI job to lint Python agent sources

Implement CI job to lint agent Python sources and enforce merging only
linted code to maintain code quality standards.
This commit is contained in:
lebaudantoine
2025-08-23 01:24:06 +02:00
committed by aleb_the_flash
parent 185d5c2c60
commit eee17b6b58

View File

@@ -92,6 +92,26 @@ jobs:
- name: Lint code with pylint
run: ~/.local/bin/pylint meet demo core
lint-agents:
runs-on: ubuntu-latest
defaults:
run:
working-directory: src/agents
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