name: Python Linting on: push: branches: - master pull_request: branches: - master workflow_dispatch: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Set up Python uses: actions/setup-python@v4 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