-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
32 lines (24 loc) · 651 Bytes
/
lint.yml
File metadata and controls
32 lines (24 loc) · 651 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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@v6
with:
persist-credentials: false
- name: Run pre-commit hooks
uses: j178/prek-action@v1
- name: Check spelling
uses: j178/prek-action@v1
continue-on-error: true
with:
extra_args: --all-files --hook-stage manual codespell