Skip to content

type fixes and other numerous fixes #2

type fixes and other numerous fixes

type fixes and other numerous fixes #2

name: Lint and Static Analysis
on:
pull_request:
paths:
- main.py
- context_chat_backend/**
push:
branches:
- master
paths:
- main.py
- context_chat_backend/**
jobs:
analysis:
runs-on: ubuntu-latest
name: Lint and Static Analysis
steps:
- name: Setup python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dev dependencies
run: |
pip install -r reqs.dev
- name: Lint with Ruff
run: |
ruff --output-format=github context_chat_backend main.py
- name: Static analysis with pyright
run: |
pyright context_chat_backend main.py