Skip to content

Add Pydantic-based config validation and type correction #633

Add Pydantic-based config validation and type correction

Add Pydantic-based config validation and type correction #633

Workflow file for this run

name: Pylint
on:
workflow_dispatch:
push:
branches:
- main
- release-*
- prepare-release-*
pull_request:
branches:
- main
- release-*
- prepare-release-*
jobs:
lint:
#runs-on: self-hosted
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10" , "3.11" , "3.12", "3.13"]
steps:
- name: Checkout Repository
uses: actions/checkout@v6
- name: Set up uv with Python ${{ matrix.python-version }}
id: setup-uv
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
activate-environment: true
enable-cache: true
- name: Install dependencies
run: |
uv pip install .
uv pip install pylint
- name: Run pylint
run: |
pylint -j 0 --fail-under 9 --source-roots ./src batcontrol