Skip to content

Version 1.42.0

Version 1.42.0 #884

Workflow file for this run

name: Python Lint
on:
push:
branches:
- main
paths:
- "python/**"
- "openapi.json"
- ".github/workflows/python-lint.yml"
pull_request:
paths:
- "python/**"
- "openapi.json"
- ".github/workflows/python-lint.yml"
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.11'
- name: Install deps
run: |
cd python
python -m pip install --upgrade pip
python -m pip install -r requirements.txt .
python -m pip install -r requirements-dev.txt .
- name: Regen openapi libs
run: |
cd python
./scripts/generate_openapi.sh
- name: Run linting
run: |
cd python
sh ./scripts/lint.sh