Skip to content

Commit 0c032b8

Browse files
committed
Merge branch 'main' of https://github.com/seedcase-project/template-python-package into style/format-mds
2 parents ddd79a5 + 9b87001 commit 0c032b8

19 files changed

Lines changed: 159 additions & 68 deletions

.github/workflows/add-to-project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
# This is a useful security step to check for unexpected outbound calls from the runner,
2727
# which could indicate a compromised token or runner.
2828
- name: Harden the runner (Audit all outbound calls)
29-
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
29+
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
3030
with:
3131
egress-policy: audit
3232

.github/workflows/build-website.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
# This is a useful security step to check for unexpected outbound calls from the runner,
2222
# which could indicate a compromised token or runner.
2323
- name: Harden the runner (Audit all outbound calls)
24-
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
24+
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
2525
with:
2626
egress-policy: audit
2727

2828
- name: Check out repository
29-
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
29+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3030

3131
- name: Set up Quarto
3232
uses: quarto-dev/quarto-actions/setup@8a96df13519ee81fd526f2dfca5962811136661b # v2.2.0

.github/workflows/checks.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
# This is a useful security step to check for unexpected outbound calls from the runner,
1212
# which could indicate a compromised token or runner.
1313
- name: Harden the runner (Audit all outbound calls)
14-
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
14+
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
1515
with:
1616
egress-policy: audit
1717

1818
- name: Checkout repository
19-
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
19+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2020

2121
- name: Set up uv
22-
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
22+
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
2323
with:
2424
enable-cache: true
2525

@@ -41,12 +41,12 @@ jobs:
4141
# This is a useful security step to check for unexpected outbound calls from the runner,
4242
# which could indicate a compromised token or runner.
4343
- name: Harden the runner (Audit all outbound calls)
44-
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
44+
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
4545
with:
4646
egress-policy: audit
4747

4848
- name: Checkout repository
49-
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
49+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5050

5151
- name: Spell check repo
5252
uses: crate-ci/typos@bee27e3a4fd1ea2111cf90ab89cd076c870fce14 # v1.48.0
@@ -59,12 +59,12 @@ jobs:
5959
# This is a useful security step to check for unexpected outbound calls from the runner,
6060
# which could indicate a compromised token or runner.
6161
- name: Harden the runner (Audit all outbound calls)
62-
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
62+
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
6363
with:
6464
egress-policy: audit
6565

6666
- name: Checkout repository
67-
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
67+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
6868

6969
- name: Set up Quarto
7070
uses: quarto-dev/quarto-actions/setup@8a96df13519ee81fd526f2dfca5962811136661b # v2.2.0
@@ -85,12 +85,12 @@ jobs:
8585
runs-on: ubuntu-latest
8686
steps:
8787
- name: Harden the runner (Audit all outbound calls)
88-
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
88+
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
8989
with:
9090
egress-policy: audit
9191

9292
- name: "Checkout Repository"
93-
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
93+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
9494

9595
- name: "Dependency Review"
9696
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
# This is a useful security step to check for unexpected outbound calls from the runner,
2525
# which could indicate a compromised token or runner.
2626
- name: Harden the runner (Audit all outbound calls)
27-
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
27+
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
2828
with:
2929
egress-policy: audit
3030

@@ -38,7 +38,7 @@ jobs:
3838
private-key: ${{ secrets.UPDATE_VERSION_TOKEN }}
3939

4040
- name: Checkout
41-
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
41+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4242
with:
4343
# Only need the last commit from the repo.
4444
fetch-depth: 0
@@ -58,7 +58,7 @@ jobs:
5858

5959
# Install uv to use git-cliff and panache
6060
- name: Set up uv
61-
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
61+
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
6262
with:
6363
enable-cache: true
6464

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repos:
1111
- id: gitleaks
1212

1313
- repo: https://github.com/jolars/panache-pre-commit
14-
rev: v3.0.1
14+
rev: v3.0.2
1515
hooks:
1616
- id: panache-format
1717

CHANGELOG.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,84 @@ releases we've made so far, along with what was changed within each release.
2121
Commits from bots, like `dependabot` or `pre-commit-ci`, are not included in the
2222
changelog.
2323

24+
## [0.27.0](https://github.com/seedcase-project/template-python-package/compare/0.26.1..0.27.0) - 2026-08-07
25+
26+
### ✨ Features
27+
28+
- Allow use of `Optional[]` in Ruff checks
29+
[#341](https://github.com/seedcase-project/template-python-package/pull/341)
30+
by [`@lwjohnst86`](https://github.com/lwjohnst86)
31+
([3b396d4](https://github.com/seedcase-project/template-python-package/commit/3b396d467f036afa8a097132b9225602c053e9f1))
32+
33+
### 🐛 Fixes
34+
35+
- Remove leftover workflow tags from conversion
36+
[#338](https://github.com/seedcase-project/template-python-package/pull/338)
37+
by [`@lwjohnst86`](https://github.com/lwjohnst86)
38+
([0fcb787](https://github.com/seedcase-project/template-python-package/commit/0fcb787915e8a9dbf0d110301e28916d9487f7a8))
39+
- Correct Pyrefly settings to actually run in our projects
40+
[#337](https://github.com/seedcase-project/template-python-package/pull/337)
41+
by [`@lwjohnst86`](https://github.com/lwjohnst86)
42+
([56a5d86](https://github.com/seedcase-project/template-python-package/commit/56a5d86c4a14cbe1798ec9aea43cd7c8b1e1c3dd))
43+
- Bring back Python import organising in VS Code
44+
[#339](https://github.com/seedcase-project/template-python-package/pull/339)
45+
by [`@lwjohnst86`](https://github.com/lwjohnst86)
46+
([25965e4](https://github.com/seedcase-project/template-python-package/commit/25965e4d38d3157224ffed45ceda5e036df9c8b9))
47+
- Remove Pyrefly from pre-commit, as `pre-commit.ci` fails with it
48+
[#333](https://github.com/seedcase-project/template-python-package/pull/333)
49+
by [`@lwjohnst86`](https://github.com/lwjohnst86)
50+
([8422401](https://github.com/seedcase-project/template-python-package/commit/84224010d8e4a7f2d3542c31be858a37983b446c))
51+
52+
### ♻️ Refactor
53+
54+
- Use uv not pipx in CONTRIBUTING
55+
[#336](https://github.com/seedcase-project/template-python-package/pull/336)
56+
by [`@lwjohnst86`](https://github.com/lwjohnst86)
57+
([bd5e601](https://github.com/seedcase-project/template-python-package/commit/bd5e6016e0e3fdad17ace49b129e2368d7544c0f))
58+
59+
### 📝 Documentation
60+
61+
- Rebuild README
62+
[#342](https://github.com/seedcase-project/template-python-package/pull/342)
63+
by [`@lwjohnst86`](https://github.com/lwjohnst86)
64+
([a5a3df2](https://github.com/seedcase-project/template-python-package/commit/a5a3df29bb8ab3f543702008919902e598314389))
65+
66+
### 💄 Styling
67+
68+
- Reformat some Jinja files
69+
[#335](https://github.com/seedcase-project/template-python-package/pull/335)
70+
by [`@lwjohnst86`](https://github.com/lwjohnst86)
71+
([7a3c538](https://github.com/seedcase-project/template-python-package/commit/7a3c5382ccce60bb5f9492828ac14cbfbbcdd8c5))
72+
73+
### 👩‍💻 Miscellaneous
74+
75+
- Do not run rumdl on Jinja files, it mangles them
76+
[#334](https://github.com/seedcase-project/template-python-package/pull/334)
77+
by [`@lwjohnst86`](https://github.com/lwjohnst86)
78+
([c1d0e30](https://github.com/seedcase-project/template-python-package/commit/c1d0e306cc24ee5f121a8d73a81359fc0cfd8751))
79+
- Don't copy `typos.toml` to root of template
80+
[#340](https://github.com/seedcase-project/template-python-package/pull/340)
81+
by [`@lwjohnst86`](https://github.com/lwjohnst86)
82+
([2215bdf](https://github.com/seedcase-project/template-python-package/commit/2215bdf1b9f8e1534f0e48396989a8622c1d90cb))
83+
84+
## [0.26.1](https://github.com/seedcase-project/template-python-package/compare/0.26.0..0.26.1) - 2026-08-07
85+
86+
### 🐛 Fixes
87+
88+
- Move quartodoc renderer into root folder
89+
[#332](https://github.com/seedcase-project/template-python-package/pull/332)
90+
by [`@lwjohnst86`](https://github.com/lwjohnst86)
91+
([0c990c0](https://github.com/seedcase-project/template-python-package/commit/0c990c023ad7aefd06694911d39402ab8c6526cc))
92+
93+
## [0.26.0](https://github.com/seedcase-project/template-python-package/compare/0.25.3..0.26.0) - 2026-07-31
94+
95+
### ✨ Features
96+
97+
- Use Seedcase badge in template Quarto config
98+
[#327](https://github.com/seedcase-project/template-python-package/pull/327)
99+
by [`@signekb`](https://github.com/signekb)
100+
([dc8e442](https://github.com/seedcase-project/template-python-package/commit/dc8e442951d166c353ec839b5990b1dabe4a80a4))
101+
24102
## [0.25.3](https://github.com/seedcase-project/template-python-package/compare/0.25.2..0.25.3) - 2026-07-29
25103

26104
### 🐛 Fixes

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11

2+
23
# Template Python Package: An opinionated setup for making Python packages
34

45
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.17018496.svg)](https://doi.org/10.5281/zenodo.17018496)
@@ -7,7 +8,7 @@
78
License](https://img.shields.io/github/license/seedcase-project/template-python-package.svg)](https://github.com/seedcase-project/template-python-package/blob/main/LICENSE.md)
89
[![GitHub
910
Release](https://img.shields.io/github/v/release/seedcase-project/template-python-package.svg)](https://github.com/seedcase-project/template-python-package/releases/latest)
10-
[![Test](https://github.com/seedcase-project/template-python-package/actions/workflows/test.yml/badge.svg)](https://github.com/seedcase-project/template-python-package/actions/workflows/test.yml)
11+
[![Checks](https://github.com/seedcase-project/template-python-package/actions/workflows/checks.yml/badge.svg)](https://github.com/seedcase-project/template-python-package/actions/workflows/checks.yml)
1112
[![Build
1213
website](https://github.com/seedcase-project/template-python-package/actions/workflows/build-website.yml/badge.svg)](https://github.com/seedcase-project/template-python-package/actions/workflows/build-website.yml)
1314
[![CodeQL](https://github.com/seedcase-project/template-python-package/actions/workflows/github-code-scanning/codeql/badge.svg?branch=main)](https://github.com/seedcase-project/template-python-package/actions/workflows/github-code-scanning/codeql)
@@ -69,7 +70,7 @@ If you use this project in your work, please cite it as follows:
6970
Johnston L.W., Brødbæk S.K., Beicher K., Vago M. (2025). Template Python
7071
Package: An opinionated setup for making Python packages DOI:
7172
10.5281/zenodo.17018496 URL:
72-
<https://template-python-package.seedcase-project.org>
73+
https://template-python-package.seedcase-project.org
7374

7475
Or as a BibTeX entry:
7576

_extensions/seedcase-project/seedcase-theme/_extension.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ authors:
1010
orcid: 0000-0003-0051-3239
1111
- name: Kristiane Beicher
1212
orcid: 0000-0001-7556-9566
13-
version: 0.8.2
13+
version: 0.9.1
1414
quarto-required: ">=1.7.0"
1515
contributes:
1616
formats:

0 commit comments

Comments
 (0)