File tree Expand file tree Collapse file tree 2 files changed +14
-19
lines changed
Expand file tree Collapse file tree 2 files changed +14
-19
lines changed Original file line number Diff line number Diff line change @@ -2,19 +2,18 @@ name: Lint PEPs
22
33on : [push, pull_request, workflow_dispatch]
44
5- permissions :
6- contents : read
5+ permissions : {}
76
87concurrency :
98 group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
109 cancel-in-progress : true
1110
1211env :
1312 FORCE_COLOR : 1
14- RUFF_FORMAT : github
13+ RUFF_OUTPUT_FORMAT : github
1514
1615jobs :
17- pre-commit :
16+ lint :
1817 name : Run pre-commit
1918 runs-on : ubuntu-latest
2019
@@ -23,15 +22,11 @@ jobs:
2322 with :
2423 persist-credentials : false
2524
26- - name : Set up Python 3
27- uses : actions/setup-python@v6
28- with :
29- python-version : " 3.x"
30-
3125 - name : Run pre-commit hooks
32- uses : tox-dev/action-pre-commit-uv @v1
26+ uses : j178/prek-action @v1
3327
3428 - name : Check spelling
35- uses : tox-dev/action-pre-commit-uv@v1
29+ uses : j178/prek-action@v1
30+ continue-on-error : true
3631 with :
37- extra_args : --all-files --hook-stage manual codespell || true
32+ extra_args : --all-files --hook-stage manual codespell
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ default_stages: [pre-commit]
1212repos :
1313 # General file checks and fixers
1414 - repo : https://github.com/pre-commit/pre-commit-hooks
15- rev : v5 .0.0
15+ rev : v6 .0.0
1616 hooks :
1717 - id : end-of-file-fixer
1818 name : " Ensure files end with a single newline"
4848 name : " Check YAML"
4949
5050 - repo : https://github.com/psf/black-pre-commit-mirror
51- rev : 24.10 .0
51+ rev : 25.12 .0
5252 hooks :
5353 - id : black
5454 name : " Format with Black"
5858 files : ' ^(peps/conf\.py|pep_sphinx_extensions/tests/.*)$'
5959
6060 - repo : https://github.com/astral-sh/ruff-pre-commit
61- rev : v0.7.0
61+ rev : v0.14.10
6262 hooks :
63- - id : ruff
63+ - id : ruff-check
6464 name : " Lint with Ruff"
6565 args :
6666 - ' --exit-non-zero-on-fix'
@@ -72,13 +72,13 @@ repos:
7272 files : ' ^release_management/'
7373
7474 - repo : https://github.com/tox-dev/tox-ini-fmt
75- rev : 1.4 .1
75+ rev : 1.7 .1
7676 hooks :
7777 - id : tox-ini-fmt
7878 name : " Format tox.ini"
7979
8080 - repo : https://github.com/sphinx-contrib/sphinx-lint
81- rev : v1.0.0
81+ rev : v1.0.2
8282 hooks :
8383 - id : sphinx-lint
8484 name : " Sphinx lint"
9999
100100 # Manual codespell check
101101 - repo : https://github.com/codespell-project/codespell
102- rev : v2.3.0
102+ rev : v2.4.1
103103 hooks :
104104 - id : codespell
105105 name : " Check for common misspellings in text files"
You can’t perform that action at this time.
0 commit comments