Fix pyright tests #48
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 with pyflakes | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
pyflakes: | |
runs-on: ubuntu-latest | |
name: Pyflakes | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install Dependencies | |
run: | | |
pip install poetry && poetry install | |
- name: Run pyflakes | |
run: | | |
# Skip __init__.py because it contains star imports | |
poetry run python3 -m pyflakes $(git ls-files '*.py' | grep -v __init__.py) |