Build(deps): Bump ubuntu from 590e57a to 353675e in /docker/seacas
#1872
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: Python Linting | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Set up Python | |
| uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0 | |
| with: | |
| python-version: '3.10' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install flake8 | |
| pip install pylint | |
| - name: Lint exodus.py | |
| run: | | |
| flake8 --ignore E501,W503 packages/seacas/scripts/exodus3.in.py | |
| - name: Lint exomerge.py | |
| if: success() || failure() | |
| run: | | |
| flake8 --ignore E501,W503,W504 packages/seacas/scripts/exomerge3.py | |
| - name: Lint exodus tests | |
| if: success() || failure() | |
| run: | | |
| flake8 --ignore E501,E402,W503,W605 packages/seacas/scripts/tests |