Skip to content

Commit 8503c10

Browse files
committed
Generate and upload attestations to PyPI
1 parent 96a2ce2 commit 8503c10

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
- name: Upload package to Test PyPI
6060
uses: pypa/gh-action-pypi-publish@release/v1
6161
with:
62+
attestations: true
6263
repository-url: https://test.pypi.org/legacy/
6364

6465
# Upload to real PyPI on GitHub Releases.
@@ -88,3 +89,5 @@ jobs:
8889

8990
- name: Upload package to PyPI
9091
uses: pypa/gh-action-pypi-publish@release/v1
92+
with:
93+
attestations: true

.pre-commit-config.yaml

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

1414
- repo: https://github.com/pre-commit/pre-commit-hooks
15-
rev: v4.6.0
15+
rev: v5.0.0
1616
hooks:
1717
- id: check-added-large-files
1818
- id: check-case-conflict
@@ -26,28 +26,28 @@ repos:
2626
- id: trailing-whitespace
2727

2828
- repo: https://github.com/python-jsonschema/check-jsonschema
29-
rev: 0.29.2
29+
rev: 0.29.3
3030
hooks:
3131
- id: check-github-workflows
3232
- id: check-renovate
3333

3434
- repo: https://github.com/rhysd/actionlint
35-
rev: v1.7.1
35+
rev: v1.7.3
3636
hooks:
3737
- id: actionlint
3838

3939
- repo: https://github.com/tox-dev/pyproject-fmt
40-
rev: 2.2.3
40+
rev: 2.2.4
4141
hooks:
4242
- id: pyproject-fmt
4343

4444
- repo: https://github.com/abravalheri/validate-pyproject
45-
rev: v0.19
45+
rev: v0.20.2
4646
hooks:
4747
- id: validate-pyproject
4848

4949
- repo: https://github.com/tox-dev/tox-ini-fmt
50-
rev: 1.4.0
50+
rev: 1.4.1
5151
hooks:
5252
- id: tox-ini-fmt
5353

0 commit comments

Comments
 (0)