Skip to content

Commit 6587901

Browse files
committed
chg: update to template-python 0.2.6
1 parent 4b18eb3 commit 6587901

5 files changed

Lines changed: 13 additions & 10 deletions

File tree

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: v0.2.5
2+
_commit: v0.2.6
33
_src_path: gh:ninanor/python-template
44
author_name: ninanor
55
debug: false

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
contents: read
1515
steps:
1616
- name: Checkout Code Repository
17-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
17+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1818
with:
1919
persist-credentials: false
2020

2121
- name: Install the latest version of uv
22-
uses: astral-sh/setup-uv@e92bafb6253dcd438e0484186d7669ea7a8ca1cc # v6.4.3
22+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
2323

2424
- name: Install dependencies
2525
run: uv sync --frozen

.github/workflows/zizmor.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@ jobs:
1717
actions: read
1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2121
with:
2222
persist-credentials: false
2323

2424
- name: Install the latest version of uv
25-
uses: astral-sh/setup-uv@e92bafb6253dcd438e0484186d7669ea7a8ca1cc # v6.4.3
25+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
2626

2727
- name: Run zizmor 🌈
2828
run: uvx zizmor --format sarif . > results.sarif
2929
env:
3030
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131

3232
- name: Upload SARIF file
33-
uses: github/codeql-action/upload-sarif@76621b61decf072c1cee8dd1ce2d2a82d33c17ed # v3.29.8
33+
uses: github/codeql-action/upload-sarif@c6f931105cb2c34c8f901cc885ba1e2e259cf745 # v4.34.0
3434
if: github.repository_visibility == 'public'
3535
with:
3636
sarif_file: results.sarif

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repos:
2020
args: [--assume-in-merge]
2121

2222
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
23-
rev: v2.15.0
23+
rev: v2.16.0
2424
hooks:
2525
- id: pretty-format-toml
2626
args: [--autofix]
@@ -45,18 +45,18 @@ repos:
4545
files: "\\.rej$"
4646

4747
- repo: https://github.com/woodruffw/zizmor-pre-commit
48-
rev: v1.11.0
48+
rev: v1.23.1
4949
hooks:
5050
- id: zizmor
5151

5252
- repo: https://github.com/astral-sh/ruff-pre-commit
53-
rev: v0.12.8
53+
rev: v0.15.7
5454
hooks:
5555
- id: ruff
5656
- id: ruff-format
5757

5858
- repo: https://github.com/astral-sh/uv-pre-commit
59-
rev: 0.8.8
59+
rev: 0.10.12
6060
hooks:
6161
- id: uv-lock
6262

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ dms_sync = "datasync.dms:app"
5959
nva_sync = "datasync.nva:app"
6060
ubw_sync = "datasync.ubw:app"
6161

62+
[tool.deptry]
63+
known_first_party = ["src"]
64+
6265
[tool.deptry.per_rule_ignores]
6366
DEP002 = ["rich", "numpy", "setuptools"]
6467

0 commit comments

Comments
 (0)