Final gpu pipeline (#171) #549
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: Python Linting | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.12" | |
| - name: Install tools | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install black==23.12.1 flake8==7.0.0 | |
| - name: Run Black | |
| run: | | |
| python -m black . --check --verbose --line-length 119 --exclude "venv|env|.venv" | |
| - name: Run Flake8 | |
| run: | | |
| python -m flake8 . --max-line-length 119 --exclude venv,env,.venv | |