add pyright checks #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: Code Quality | |
on: [push] | |
jobs: | |
code-quality: | |
runs-on: self-hosted | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Setup rye | |
uses: eifinger/setup-rye@v4 | |
with: | |
enable-cache: true | |
version: '0.39.0' | |
- name: Formatting | |
continue-on-error: true | |
run: rye fmt --check | |
- name: Linting | |
continue-on-error: true | |
run: rye lint | |
- name: Static type checks (pyright) | |
continue-on-error: true | |
run: python -m pyright |