Update linting to use Ruff #1
Workflow file for this run
This file contains hidden or 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: Linting | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| checkSyntax: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Python Setup | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3" | |
| architecture: x64 | |
| - name: Checkout Source | |
| uses: actions/checkout@v4 | |
| - name: Install Dependencies | |
| run: pip install -r requirements.txt -r requirements-dev.txt | |
| - name: Ruff Check | |
| run: | | |
| ruff --version | |
| ruff check | |
| - name: Pyright Check | |
| run: | | |
| pyright --version | |
| pyright | |
| - name: Isort Check | |
| run: | | |
| isort --version | |
| isort --check . |