Skip to content

more ocpi compatibility, strict mode #142

more ocpi compatibility, strict mode

more ocpi compatibility, strict mode #142

Workflow file for this run

name: lint
on:
push:
branches:
- '*'
pull_request:
types: [opened, closed]
branches:
- '*'
# make workflow "callable" by others
workflow_call:
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- '3'
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup Python v${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: pip install
run: pip install -r requirements.txt -r requirements-dev.txt
- name: lint using ruff
run: ruff check --output-format github ./webapp ./tests ./migrations
- name: lint using ruff
run: ruff format --check ./webapp ./tests ./migrations