Skip to content

Commit b025512

Browse files
authored
Bump pre-commit and fix zizmor's excessive-permissions warnings (#217)
1 parent 04911e1 commit b025512

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.github/workflows/source-and-docs-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ on:
3737

3838
name: "Build Python source and docs artifacts"
3939

40+
permissions: {}
41+
4042
# Set from inputs for workflow_dispatch, or set defaults to test push/PR events
4143
env:
4244
GIT_REMOTE: ${{ github.event.inputs.git_remote || 'python' }}

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Test
22

33
on: [push, pull_request, workflow_dispatch]
44

5+
permissions: {}
6+
57
env:
68
FORCE_COLOR: 1
79

.pre-commit-config.yaml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.8.2
3+
rev: v0.9.6
44
hooks:
55
- id: ruff
66
args: [--exit-non-zero-on-fix]
77

88
- repo: https://github.com/psf/black-pre-commit-mirror
9-
rev: 24.10.0
9+
rev: 25.1.0
1010
hooks:
1111
- id: black
1212

@@ -25,18 +25,18 @@ repos:
2525
- id: trailing-whitespace
2626

2727
- repo: https://github.com/python-jsonschema/check-jsonschema
28-
rev: 0.30.0
28+
rev: 0.31.1
2929
hooks:
3030
- id: check-dependabot
3131
- id: check-github-workflows
3232

3333
- repo: https://github.com/rhysd/actionlint
34-
rev: v1.7.4
34+
rev: v1.7.7
3535
hooks:
3636
- id: actionlint
3737

3838
- repo: https://github.com/woodruffw/zizmor-pre-commit
39-
rev: v0.8.0
39+
rev: v1.3.1
4040
hooks:
4141
- id: zizmor
4242

@@ -51,14 +51,11 @@ repos:
5151
- id: validate-pyproject
5252

5353
- repo: https://github.com/tox-dev/tox-ini-fmt
54-
rev: 1.4.1
54+
rev: 1.5.0
5555
hooks:
5656
- id: tox-ini-fmt
5757

5858
- repo: meta
5959
hooks:
6060
- id: check-hooks-apply
6161
- id: check-useless-excludes
62-
63-
ci:
64-
autoupdate_schedule: quarterly

0 commit comments

Comments
 (0)