tracksolid_timescale_grafan.../.forgejo/workflows/ci-static.yml

23 lines
505 B
YAML

name: Static Analysis
on: [push, pull_request]
jobs:
static:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Install Python
run: pip install ruff mypy psycopg2-binary requests fastapi uvicorn python-multipart
- name: Lint with ruff
run: ruff check .
- name: Type check with mypy
run: >
mypy
ts_shared_rev.py
ingest_movement_rev.py
ingest_events_rev.py
webhook_receiver_rev.py