Skip to content

Commit 0b7b90e

Browse files
wpk-nist-govgithub-actions[bot]
authored andcommitted
chore(template): accept new copier update [skip ci]
1 parent 1f2d755 commit 0b7b90e

7 files changed

Lines changed: 20 additions & 30 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; NEVER EDIT MANUALLY
2-
_commit: v0.9.0-24-g1479a01
2+
_commit: v0.10.0-1-g4d30a6c
33
_src_path: https://github.com/usnistgov/cookiecutter-nist-python.git
44
command_line_interface: typer
55
conda_channel: conda-forge

.github/actions/setup-cached-uv-and-python/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ runs:
3737
python-version-file: ${{ inputs.python-version-file }}
3838
- name: Setup cached uv
3939
id: setup-cached-uv
40-
uses: hynek/setup-cached-uv@757bedc3f972eb7227a1aa657651f15a8527c817 # v2.3.0
40+
uses: hynek/setup-cached-uv@0b9e52652c2d5d4fb6af4598efa3d14e60e934d1 # v2.4.0
4141
with:
4242
cache-dependency-path: ${{ inputs.cache-dependency-path }}

.github/workflows/update-package-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
5454
- name: Rooster cache
5555
id: numba-cache-restore
56-
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
56+
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
5757
with:
5858
path: |
5959
${{ github.workspace }}/.cache

.pre-commit-config.yaml

Lines changed: 12 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,7 @@ repos:
2424
rev: v0.3.0
2525
hooks:
2626
- id: sync-pre-commit-deps
27-
args:
28-
- "--requirements=requirements/lock/pre-commit-additional-dependencies.txt"
29-
files: >-
30-
^\.pre-commit-config\.yaml$|^requirements/lock/pre-commit-additional-dependencies\.txt$
3127
- id: sync-uv-dependency-groups
32-
- id: justfile-format
33-
additional_dependencies:
34-
- rust-just==1.47.1
3528

3629
# * Forbidden files
3730
- repo: local
@@ -73,7 +66,7 @@ repos:
7366
files: ^pyproject\.toml$
7467
# ** validate (schema-store)
7568
- repo: https://github.com/henryiii/validate-pyproject-schema-store
76-
rev: 2026.03.15
69+
rev: 2026.03.27
7770
hooks:
7871
- id: validate-pyproject
7972
name: validate-pyproject-schema-store
@@ -103,31 +96,24 @@ repos:
10396
- id: markdownlint-cli2
10497
alias: markdownlint
10598
args: [--style, prettier]
106-
# language_version: 10.9.0
99+
100+
# Just
101+
- repo: https://github.com/wpk-nist-gov/just-pre-commit
102+
rev: v1.48.0
103+
hooks:
104+
- id: justfile-format
107105

108106
# * Linting
109107
- repo: https://github.com/astral-sh/ruff-pre-commit
110-
rev: v0.15.7
108+
rev: v0.15.8
111109
hooks:
112110
- id: ruff-check
113111
alias: ruff
114112
args: [--fix, --show-fixes]
113+
types_or: &ruff_types [python, pyi, jupyter, markdown]
115114
- id: ruff-format
116115
alias: ruff
117-
- repo: https://github.com/adamtheturtle/doccmd-pre-commit
118-
rev: v2026.3.2
119-
hooks:
120-
- id: doccmd
121-
name: "ruff format markdown"
122-
alias: ruff
123-
args:
124-
- "--language"
125-
- "python"
126-
- "--no-pad-file"
127-
- "--command"
128-
- "ruff format"
129-
additional_dependencies:
130-
- ruff==0.15.7
116+
types_or: *ruff_types
131117

132118
# * Spelling
133119
# ** typos
@@ -149,7 +135,7 @@ repos:
149135
- "--custom-command=prek run pyproject2conda-project --all-files"
150136
# ** uv
151137
- repo: https://github.com/astral-sh/uv-pre-commit
152-
rev: 0.11.1
138+
rev: 0.11.2
153139
hooks:
154140
- id: uv-lock
155141
alias: requirements
@@ -182,7 +168,7 @@ repos:
182168

183169
# * Actions
184170
- repo: https://github.com/python-jsonschema/check-jsonschema
185-
rev: 0.37.0
171+
rev: 0.37.1
186172
hooks:
187173
- id: check-github-workflows
188174
alias: actions

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ cog: (lint-manual "cog" "--verbose")
8888
[group("lint")]
8989
lint-upgrade:
9090
just pre-commit autoupdate
91-
uv run --no-project --script tools/requirements_lock.py --upgrade requirements/pre-commit-additional-dependencies.txt
91+
-[[ -f requirements/pre-commit-additional-dependencies.txt ]] && uv run --no-project --script tools/requirements_lock.py --upgrade requirements/pre-commit-additional-dependencies.txt
9292
-just pre-commit run -v sync-pre-commit-deps -a
9393

9494
# * User setup -----------------------------------------------------------------

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,13 +311,16 @@ pytest-accept = { pip = true }
311311
[tool.pyproject2conda.envs.dev]
312312
groups = "dev"
313313

314+
<<<<<<< before updating
314315
[tool.pyproject2conda.envs.pre-commit-additional-dependencies]
315316
reqs = [
316317
"rust-just",
317318
]
318319
skip-package = true
319320
style = "requirements"
320321

322+
=======
323+
>>>>>>> after updating
321324
[tool.pyproject2conda.envs.test]
322325
groups = "test"
323326
python = "all"

ruff.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ unsafe-fixes = true
1212

1313
[format]
1414
docstring-code-format = true
15+
preview = true # needed for markdown support
1516

1617
[lint]
1718
preview = true

0 commit comments

Comments
 (0)