Repository navigation
PEP 832: Replace the .venv redirect file concept with a .python-envs file
#11255
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 PEPs | |
| on: [push, pull_request, workflow_dispatch] | |
| permissions: {} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| env: | |
| FORCE_COLOR: 1 | |
| RUFF_OUTPUT_FORMAT: github | |
| jobs: | |
| lint: | |
| name: Run pre-commit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Run pre-commit hooks | |
| uses: j178/prek-action@e98a699c41eb69ab013a45817a0406469a748f8d # v2.0.5 | |
| - name: Check spelling | |
| uses: j178/prek-action@e98a699c41eb69ab013a45817a0406469a748f8d #v2.0.5 | |
| continue-on-error: true | |
| with: | |
| extra_args: --all-files --hook-stage manual codespell |