python: Add None
fallback if the server does not send an error
#1068
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Lint | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "python/**" | |
- "lib-openapi.json" | |
- ".github/workflows/python-lint.yml" | |
pull_request: | |
paths: | |
- "python/**" | |
- "lib-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: Run linting | |
run: | | |
cd python | |
sh ./scripts/lint.sh |