type fixes and other numerous fixes #4
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: 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 | |
working-directory: context_chat_backend | |
run: | | |
pip install -r reqs.dev | |
- name: Lint with Ruff | |
working-directory: context_chat_backend | |
run: | | |
ruff --output-format=github context_chat_backend main.py | |
- name: Static analysis with pyright | |
working-directory: context_chat_backend | |
run: | | |
pyright context_chat_backend main.py |