Skip to content

Fixing Pyright

Fixing Pyright #18

name: Python Actions
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Black
uses: microsoft/[email protected]
with:
black: true
workdir: "."
- name: Bandit
uses: microsoft/[email protected]
with:
bandit: true
workdir: "."
- name: Pylint
uses: microsoft/[email protected]
with:
pylint: true
workdir: "."
- name: Pyright
uses: microsoft/[email protected]
with:
pyright: true
workdir: "."
- name: Flake8
uses: microsoft/[email protected]
with:
flake8: true
workdir: "."
testing:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Pytest
uses: microsoft/[email protected]
with:
pytest: true
testdir: "tests/"
workdir: "."