Repository navigation
Infra: Add custom lexers for PEP 823 + 824 (#5125) #11548
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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Run pre-commit hooks | |
| uses: j178/prek-action@4e14d07f9231acabce116ccfca13b13dd9755ece # v3.0.0 | |
| - name: Check spelling | |
| uses: j178/prek-action@4e14d07f9231acabce116ccfca13b13dd9755ece #v3.0.0 | |
| continue-on-error: true | |
| with: | |
| extra_args: --all-files --hook-stage manual codespell |