Enable pyright job for every commit (#2675)

And fix remaining issues that the job doesn't fail.
This commit is contained in:
Alexander Kukushkin
2023-05-15 11:38:40 +02:00
committed by GitHub
parent fdcf8b1997
commit 66a0e44371
23 changed files with 337 additions and 280 deletions
+15
View File
@@ -157,3 +157,18 @@ jobs:
steps:
- run: bash <(curl -Ls https://coverage.codacy.com/get.sh) final
if: ${{ env.SECRETS_AVAILABLE == 'true' }}
pyright:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: python -m pip install -r requirements.txt psycopg2-binary psycopg
- uses: jakebailey/pyright-action@v1