Use pyright for additional type checks #6
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: check.yml | |
on: [push, pull_request] | |
env: | |
PYTHON: 3.11 | |
jobs: | |
check-pylint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Python | |
uses: actions/setup-python@master | |
with: | |
python-version: ${{ env.PYTHON }} | |
- name: Install | |
run: | | |
pip install pylint | |
pip install . | |
- name: Check | |
run: | | |
pylint src/remucs | |
check-pyright: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Python | |
uses: actions/setup-python@master | |
with: | |
python-version: ${{ env.PYTHON }} | |
- name: Install | |
run: | | |
pip install pyright | |
pip install . | |
- name: Check | |
run: | | |
pyright --pythonpath $(which python) src/remucs |