Skip to content

Commit 8f4fcf8

Browse files
committed
Update templates to reflect cooldown period changes
Add a tool.uv table to the pyproject.toml template, with a setting for a 7 day cooldown period. Update dependabot templates to use a cooldown period of 7 days instead of 5.
1 parent 7cedeb4 commit 8f4fcf8

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

src/pyprefab/templates/.github/dependabot.yaml.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ updates:
88
schedule:
99
interval: "weekly"
1010
cooldown:
11-
default-days: 5
11+
default-days: 7
1212
groups:
1313
gha-updates:
1414
applies-to: version-updates
@@ -22,7 +22,7 @@ updates:
2222
schedule:
2323
interval: "weekly"
2424
cooldown:
25-
default-days: 5
25+
default-days: 7
2626
groups:
2727
py-updates:
2828
applies-to: version-updates

src/pyprefab/templates/pyproject.toml.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,6 @@ testpaths = [
6060
[tool.ruff]
6161
line-length = 120
6262
lint.extend-select = ["I", "Q"]
63+
64+
[tool.uv]
65+
exclude-newer = "7 days"

test/__snapshots__/test_templates.ambr

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -823,6 +823,9 @@
823823
'fallback_version': '0.0.0.dev0',
824824
'local_scheme': 'no-local-version',
825825
}),
826+
'uv': dict({
827+
'exclude-newer': '7 days',
828+
}),
826829
}),
827830
})
828831
# ---
@@ -906,6 +909,9 @@
906909
'fallback_version': '0.0.0.dev0',
907910
'local_scheme': 'no-local-version',
908911
}),
912+
'uv': dict({
913+
'exclude-newer': '7 days',
914+
}),
909915
}),
910916
})
911917
# ---

0 commit comments

Comments
 (0)