File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 hashFiles('pyproject.toml', 'requirements/**.txt') }}" >> $GITHUB_OUTPUT
4343 - name : Restore Python virtual environment
4444 id : cache-venv
45- uses : actions/cache@v4 .0.2
45+ uses : actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5 .0.1
4646 with :
4747 path : .venv
4848 key : >-
5555 hashFiles('.pre-commit-config.yaml') }}" >> $GITHUB_OUTPUT
5656 - name : Restore pre-commit environment
5757 id : cache-precommit
58- uses : actions/cache@v4 .0.2
58+ uses : actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5 .0.1
5959 with :
6060 path : ${{ env.PRE_COMMIT_CACHE }}
6161 key : >-
@@ -80,14 +80,14 @@ jobs:
8080 check-latest : true
8181 - name : Restore Python virtual environment
8282 id : cache-venv
83- uses : actions/cache@v4 .0.2
83+ uses : actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5 .0.1
8484 with :
8585 path : .venv
8686 fail-on-cache-miss : true
8787 key : ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ needs.prepare-base.outputs.python-key }}
8888 - name : Restore pre-commit environment
8989 id : cache-precommit
90- uses : actions/cache@v4 .0.2
90+ uses : actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5 .0.1
9191 with :
9292 path : ${{ env.PRE_COMMIT_CACHE }}
9393 fail-on-cache-miss : true
Original file line number Diff line number Diff line change 44
55repos :
66 - repo : https://github.com/pre-commit/pre-commit-hooks
7- rev : v4.6 .0
7+ rev : v6.0 .0
88 hooks :
99 - id : end-of-file-fixer
1010 exclude : ^.idea/
@@ -34,23 +34,28 @@ repos:
3434 - ' 4'
3535 - --offset
3636 - ' 2'
37+ - repo : https://github.com/asottile/pyupgrade
38+ rev : v3.21.2
39+ hooks :
40+ - id : pyupgrade
3741 - repo : https://github.com/astral-sh/ruff-pre-commit
38- rev : v0.6.8
42+ rev : v0.14.10
3943 hooks :
40- - id : ruff
44+ - id : ruff-format
45+ - id : ruff-check
4146 args :
4247 - --fix
4348 exclude : tests/input/
4449 - repo : https://github.com/psf/black
45- rev : 24.8 .0
50+ rev : 25.12 .0
4651 hooks :
4752 - id : black
4853 - repo : https://github.com/asottile/blacken-docs
49- rev : 1.18 .0
54+ rev : 1.20 .0
5055 hooks :
5156 - id : blacken-docs
5257 additional_dependencies :
53- - black==24.8 .0
58+ - black==25.12 .0
5459 - repo : https://github.com/pre-commit/pygrep-hooks
5560 rev : v1.10.0
5661 hooks :
7479 language : pygrep
7580 types : [python]
7681 - repo : https://github.com/pre-commit/mirrors-mypy
77- rev : v1.11.2
82+ rev : v1.19.1
7883 hooks :
7984 - id : mypy
8085 exclude : tests/input/
You can’t perform that action at this time.
0 commit comments