[CI] Moved and Updated Python Lint Test #43
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: Lint | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| spelling: | |
| name: Check Spelling | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Check out Git repository | |
| uses: actions/checkout@v6 | |
| - name: Install Requirements | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| # NOTE: There is nothing special about this version. We just need to | |
| # fix it to something. | |
| pip install codespell==2.4.1 | |
| - name: Check Spelling | |
| run: codespell | |
| PythonLint: | |
| name: Python Lint | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Check out Git repository | |
| uses: actions/checkout@v6 | |
| - name: Install Requirements | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - name: Lint Python Files Using Pylint | |
| run: ./dev/pylint_check.py |