copier-python 0.1.3__tar.gz → 0.1.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. {copier_python-0.1.3 → copier_python-0.1.4}/MAINTAINING.md +8 -8
  2. {copier_python-0.1.3 → copier_python-0.1.4}/PKG-INFO +4 -7
  3. {copier_python-0.1.3 → copier_python-0.1.4}/README.md +3 -6
  4. {copier_python-0.1.3 → copier_python-0.1.4}/pyproject.toml +1 -1
  5. copier_python-0.1.4/tests/__snapshots__/test_compose.ambr +19 -0
  6. {copier_python-0.1.3 → copier_python-0.1.4}/tests/__snapshots__/test_maintaining.ambr +60 -60
  7. {copier_python-0.1.3 → copier_python-0.1.4}/tests/__snapshots__/test_readme.ambr +8 -0
  8. copier_python-0.1.4/tests/__snapshots__/test_zensical.ambr +503 -0
  9. copier_python-0.1.4/tests/test_compose.py +21 -0
  10. {copier_python-0.1.3 → copier_python-0.1.4}/tests/test_structure.py +3 -4
  11. copier_python-0.1.4/tests/test_zensical.py +27 -0
  12. copier_python-0.1.3/CHANGELOG.md +0 -39
  13. copier_python-0.1.3/docs/changelog.md +0 -5
  14. {copier_python-0.1.3 → copier_python-0.1.4}/.gitignore +0 -0
  15. {copier_python-0.1.3 → copier_python-0.1.4}/CONTRIBUTING.md +0 -0
  16. {copier_python-0.1.3 → copier_python-0.1.4}/LICENSE +0 -0
  17. {copier_python-0.1.3 → copier_python-0.1.4}/copier_python/__init__.py +0 -0
  18. {copier_python-0.1.3 → copier_python-0.1.4}/copier_python/py.typed +0 -0
  19. {copier_python-0.1.3 → copier_python-0.1.4}/docs/contributing.md +0 -0
  20. {copier_python-0.1.3 → copier_python-0.1.4}/docs/index.md +0 -0
  21. {copier_python-0.1.3 → copier_python-0.1.4}/docs/license.md +0 -0
  22. {copier_python-0.1.3 → copier_python-0.1.4}/docs/maintaining.md +0 -0
  23. {copier_python-0.1.3 → copier_python-0.1.4}/tests/__init__.py +0 -0
  24. {copier_python-0.1.3 → copier_python-0.1.4}/tests/__snapshots__/test_contributing.ambr +0 -0
  25. {copier_python-0.1.3 → copier_python-0.1.4}/tests/__snapshots__/test_license.ambr +0 -0
  26. {copier_python-0.1.3 → copier_python-0.1.4}/tests/__snapshots__/test_pyproject.ambr +0 -0
  27. {copier_python-0.1.3 → copier_python-0.1.4}/tests/conftest.py +0 -0
  28. {copier_python-0.1.3 → copier_python-0.1.4}/tests/test_contributing.py +0 -0
  29. {copier_python-0.1.3 → copier_python-0.1.4}/tests/test_license.py +0 -0
  30. {copier_python-0.1.3 → copier_python-0.1.4}/tests/test_maintaining.py +0 -0
  31. {copier_python-0.1.3 → copier_python-0.1.4}/tests/test_pyproject.py +0 -0
  32. {copier_python-0.1.3 → copier_python-0.1.4}/tests/test_readme.py +0 -0
  33. {copier_python-0.1.3 → copier_python-0.1.4}/tests/test_template.py +0 -0
  34. {copier_python-0.1.3 → copier_python-0.1.4}/tests/test_version.py +0 -0
@@ -41,7 +41,7 @@ need to be stored as secrets.
41
41
  [Settings → Environments][repo-settings-envs] → New environment → `pypi`
42
42
  3. Publish a release by pushing a tag:
43
43
  ```sh
44
- git tag 0.1.0 # or your desired first version number
44
+ git tag v0.1.0 # or your desired first version number
45
45
  git push --tags
46
46
  ```
47
47
 
@@ -51,17 +51,17 @@ need to be stored as secrets.
51
51
 
52
52
  ## Releasing
53
53
 
54
- 1. Update `CHANGELOG.md`: move items from `[Unreleased]` into a new version
55
- section and update the comparison link at the bottom
56
- 2. Commit and tag:
57
- ```sh
58
- git tag X.Y.Z
59
- git push --tags
60
- ```
54
+ Create and push a tag:
55
+
56
+ ```sh
57
+ git tag vX.Y.Z
58
+ git push --tags
59
+ ```
61
60
 
62
61
  [pypi-publishing-settings]: https://pypi.org/manage/account/publishing/
63
62
  [pypi-trusted-publishing]: https://docs.pypi.org/trusted-publishers/
64
63
  [renovate]: https://github.com/apps/renovate
64
+ [repo-releases]: https://github.com/smkent/copier-python/releases
65
65
  [repo-settings]: https://github.com/smkent/copier-python/settings
66
66
  [repo-settings-envs]: https://github.com/smkent/copier-python/settings/environments
67
67
  [repo-settings-branches]: https://github.com/smkent/copier-python/settings/branches
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: copier-python
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: Copier template for Python projects with modern tooling
5
5
  Project-URL: Homepage, https://github.com/smkent/copier-python
6
6
  Project-URL: Repository, https://github.com/smkent/copier-python
@@ -28,12 +28,10 @@ Description-Content-Type: text/markdown
28
28
 
29
29
  [Copier][copier] template for Python projects with modern tooling
30
30
 
31
+ [![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-purple.json)][copier]
31
32
  [![License](https://img.shields.io/github/license/smkent/copier-python)](LICENSE)
32
33
  [![PyPI](https://img.shields.io/pypi/v/copier-python)](https://pypi.org/project/copier-python/)
33
34
  [![Python](https://img.shields.io/pypi/pyversions/copier-python)](https://pypi.org/project/copier-python/)
34
- [![CI](https://github.com/smkent/copier-python/actions/workflows/ci.yaml/badge.svg)](https://github.com/smkent/copier-python/actions/workflows/ci.yaml)
35
- [![Coverage](https://codecov.io/gh/smkent/copier-python/branch/main/graph/badge.svg)](https://codecov.io/gh/smkent/copier-python)
36
- [![Renovate](https://img.shields.io/badge/renovate-enabled-brightgreen?logo=renovatebot)](https://renovatebot.com)
37
35
  [![GitHub stars](https://img.shields.io/github/stars/smkent/copier-python?style=social)](https://github.com/smkent/copier-python)
38
36
 
39
37
  ## Prerequisites
@@ -47,13 +45,12 @@ Description-Content-Type: text/markdown
47
45
  copier copy "gh:smkent/copier-python" /new/project/path
48
46
  ```
49
47
 
50
- [copier]: https://copier.readthedocs.io
51
- [uv]: https://docs.astral.sh/uv/
52
-
53
48
  ## Credits
54
49
 
55
50
  This template was inspired by [pawamoy/copier-uv][copier-uv] and
56
51
  [ritwiktiwari/copier-astral][copier-astral] -- Thanks!
57
52
 
53
+ [copier]: https://copier.readthedocs.io
58
54
  [copier-uv]: https://github.com/pawamoy/copier-uv
59
55
  [copier-astral]: https://github.com/ritwiktiwari/copier-astral
56
+ [uv]: https://docs.astral.sh/uv/
@@ -2,12 +2,10 @@
2
2
 
3
3
  [Copier][copier] template for Python projects with modern tooling
4
4
 
5
+ [![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-purple.json)][copier]
5
6
  [![License](https://img.shields.io/github/license/smkent/copier-python)](LICENSE)
6
7
  [![PyPI](https://img.shields.io/pypi/v/copier-python)](https://pypi.org/project/copier-python/)
7
8
  [![Python](https://img.shields.io/pypi/pyversions/copier-python)](https://pypi.org/project/copier-python/)
8
- [![CI](https://github.com/smkent/copier-python/actions/workflows/ci.yaml/badge.svg)](https://github.com/smkent/copier-python/actions/workflows/ci.yaml)
9
- [![Coverage](https://codecov.io/gh/smkent/copier-python/branch/main/graph/badge.svg)](https://codecov.io/gh/smkent/copier-python)
10
- [![Renovate](https://img.shields.io/badge/renovate-enabled-brightgreen?logo=renovatebot)](https://renovatebot.com)
11
9
  [![GitHub stars](https://img.shields.io/github/stars/smkent/copier-python?style=social)](https://github.com/smkent/copier-python)
12
10
 
13
11
  ## Prerequisites
@@ -21,13 +19,12 @@
21
19
  copier copy "gh:smkent/copier-python" /new/project/path
22
20
  ```
23
21
 
24
- [copier]: https://copier.readthedocs.io
25
- [uv]: https://docs.astral.sh/uv/
26
-
27
22
  ## Credits
28
23
 
29
24
  This template was inspired by [pawamoy/copier-uv][copier-uv] and
30
25
  [ritwiktiwari/copier-astral][copier-astral] -- Thanks!
31
26
 
27
+ [copier]: https://copier.readthedocs.io
32
28
  [copier-uv]: https://github.com/pawamoy/copier-uv
33
29
  [copier-astral]: https://github.com/ritwiktiwari/copier-astral
30
+ [uv]: https://docs.astral.sh/uv/
@@ -214,5 +214,5 @@ output-format = "concise"
214
214
  default-groups = ["dev", "docs"]
215
215
 
216
216
  [tool.uv-dynamic-versioning]
217
- pattern = "default-unprefixed"
217
+ pattern = "default"
218
218
  fallback-version = "0.0.0"
@@ -0,0 +1,19 @@
1
+ # serializer version: 1
2
+ # name: test_compose_features[private]
3
+ '''
4
+ services:
5
+ PKFire:
6
+ build: .
7
+ restart: unless-stopped
8
+
9
+ '''
10
+ # ---
11
+ # name: test_compose_features[public]
12
+ '''
13
+ services:
14
+ PKFire:
15
+ image: ghcr.io/ness/PKFire:latest
16
+ restart: unless-stopped
17
+
18
+ '''
19
+ # ---
@@ -41,15 +41,15 @@
41
41
 
42
42
  ## Releasing
43
43
 
44
- 1. Update `CHANGELOG.md`: move items from `[Unreleased]` into a new version
45
- section and update the comparison link at the bottom
46
- 2. Commit and tag:
47
- ```sh
48
- git tag X.Y.Z
49
- git push --tags
50
- ```
44
+ Create and push a tag:
45
+
46
+ ```sh
47
+ git tag vX.Y.Z
48
+ git push --tags
49
+ ```
51
50
 
52
51
  [renovate]: https://github.com/apps/renovate
52
+ [repo-releases]: https://github.com/ness/PKFire/releases
53
53
  [repo-settings]: https://github.com/ness/PKFire/settings
54
54
  [repo-settings-actions-general]: https://github.com/ness/PKFire/settings/actions
55
55
  [repo-settings-branches]: https://github.com/ness/PKFire/settings/branches
@@ -102,7 +102,7 @@
102
102
  [Settings → Environments][repo-settings-envs] → New environment → `pypi`
103
103
  3. Publish a release by pushing a tag:
104
104
  ```sh
105
- git tag 0.1.0 # or your desired first version number
105
+ git tag v0.1.0 # or your desired first version number
106
106
  git push --tags
107
107
  ```
108
108
 
@@ -119,17 +119,17 @@
119
119
 
120
120
  ## Releasing
121
121
 
122
- 1. Update `CHANGELOG.md`: move items from `[Unreleased]` into a new version
123
- section and update the comparison link at the bottom
124
- 2. Commit and tag:
125
- ```sh
126
- git tag X.Y.Z
127
- git push --tags
128
- ```
122
+ Create and push a tag:
123
+
124
+ ```sh
125
+ git tag vX.Y.Z
126
+ git push --tags
127
+ ```
129
128
 
130
129
  [pypi-publishing-settings]: https://pypi.org/manage/account/publishing/
131
130
  [pypi-trusted-publishing]: https://docs.pypi.org/trusted-publishers/
132
131
  [renovate]: https://github.com/apps/renovate
132
+ [repo-releases]: https://github.com/ness/PKFire/releases
133
133
  [repo-settings]: https://github.com/ness/PKFire/settings
134
134
  [repo-settings-actions-general]: https://github.com/ness/PKFire/settings/actions
135
135
  [repo-settings-envs]: https://github.com/ness/PKFire/settings/environments
@@ -173,15 +173,15 @@
173
173
 
174
174
  ## Releasing
175
175
 
176
- 1. Update `CHANGELOG.md`: move items from `[Unreleased]` into a new version
177
- section and update the comparison link at the bottom
178
- 2. Commit and tag:
179
- ```sh
180
- git tag X.Y.Z
181
- git push --tags
182
- ```
176
+ Create and push a tag:
177
+
178
+ ```sh
179
+ git tag vX.Y.Z
180
+ git push --tags
181
+ ```
183
182
 
184
183
  [renovate]: https://github.com/apps/renovate
184
+ [repo-releases]: https://github.com/ness/PKFire/releases
185
185
  [repo-settings]: https://github.com/ness/PKFire/settings
186
186
  [repo-settings-branches]: https://github.com/ness/PKFire/settings/branches
187
187
  [repo-settings-pages]: https://github.com/ness/PKFire/settings/pages
@@ -233,7 +233,7 @@
233
233
  [Settings → Environments][repo-settings-envs] → New environment → `pypi`
234
234
  3. Publish a release by pushing a tag:
235
235
  ```sh
236
- git tag 0.1.0 # or your desired first version number
236
+ git tag v0.1.0 # or your desired first version number
237
237
  git push --tags
238
238
  ```
239
239
 
@@ -243,17 +243,17 @@
243
243
 
244
244
  ## Releasing
245
245
 
246
- 1. Update `CHANGELOG.md`: move items from `[Unreleased]` into a new version
247
- section and update the comparison link at the bottom
248
- 2. Commit and tag:
249
- ```sh
250
- git tag X.Y.Z
251
- git push --tags
252
- ```
246
+ Create and push a tag:
247
+
248
+ ```sh
249
+ git tag vX.Y.Z
250
+ git push --tags
251
+ ```
253
252
 
254
253
  [pypi-publishing-settings]: https://pypi.org/manage/account/publishing/
255
254
  [pypi-trusted-publishing]: https://docs.pypi.org/trusted-publishers/
256
255
  [renovate]: https://github.com/apps/renovate
256
+ [repo-releases]: https://github.com/ness/PKFire/releases
257
257
  [repo-settings]: https://github.com/ness/PKFire/settings
258
258
  [repo-settings-envs]: https://github.com/ness/PKFire/settings/environments
259
259
  [repo-settings-branches]: https://github.com/ness/PKFire/settings/branches
@@ -299,15 +299,15 @@
299
299
 
300
300
  ## Releasing
301
301
 
302
- 1. Update `CHANGELOG.md`: move items from `[Unreleased]` into a new version
303
- section and update the comparison link at the bottom
304
- 2. Commit and tag:
305
- ```sh
306
- git tag X.Y.Z
307
- git push --tags
308
- ```
302
+ Create and push a tag:
303
+
304
+ ```sh
305
+ git tag vX.Y.Z
306
+ git push --tags
307
+ ```
309
308
 
310
309
  [renovate]: https://github.com/apps/renovate
310
+ [repo-releases]: https://github.com/ness/PKFire/releases
311
311
  [repo-settings]: https://github.com/ness/PKFire/settings
312
312
  [repo-settings-actions-general]: https://github.com/ness/PKFire/settings/actions
313
313
  [repo-settings-branches]: https://github.com/ness/PKFire/settings/branches
@@ -359,7 +359,7 @@
359
359
  [Settings → Environments][repo-settings-envs] → New environment → `pypi`
360
360
  3. Publish a release by pushing a tag:
361
361
  ```sh
362
- git tag 0.1.0 # or your desired first version number
362
+ git tag v0.1.0 # or your desired first version number
363
363
  git push --tags
364
364
  ```
365
365
 
@@ -372,17 +372,17 @@
372
372
 
373
373
  ## Releasing
374
374
 
375
- 1. Update `CHANGELOG.md`: move items from `[Unreleased]` into a new version
376
- section and update the comparison link at the bottom
377
- 2. Commit and tag:
378
- ```sh
379
- git tag X.Y.Z
380
- git push --tags
381
- ```
375
+ Create and push a tag:
376
+
377
+ ```sh
378
+ git tag vX.Y.Z
379
+ git push --tags
380
+ ```
382
381
 
383
382
  [pypi-publishing-settings]: https://pypi.org/manage/account/publishing/
384
383
  [pypi-trusted-publishing]: https://docs.pypi.org/trusted-publishers/
385
384
  [renovate]: https://github.com/apps/renovate
385
+ [repo-releases]: https://github.com/ness/PKFire/releases
386
386
  [repo-settings]: https://github.com/ness/PKFire/settings
387
387
  [repo-settings-actions-general]: https://github.com/ness/PKFire/settings/actions
388
388
  [repo-settings-envs]: https://github.com/ness/PKFire/settings/environments
@@ -421,15 +421,15 @@
421
421
 
422
422
  ## Releasing
423
423
 
424
- 1. Update `CHANGELOG.md`: move items from `[Unreleased]` into a new version
425
- section and update the comparison link at the bottom
426
- 2. Commit and tag:
427
- ```sh
428
- git tag X.Y.Z
429
- git push --tags
430
- ```
424
+ Create and push a tag:
425
+
426
+ ```sh
427
+ git tag vX.Y.Z
428
+ git push --tags
429
+ ```
431
430
 
432
431
  [renovate]: https://github.com/apps/renovate
432
+ [repo-releases]: https://github.com/ness/PKFire/releases
433
433
  [repo-settings]: https://github.com/ness/PKFire/settings
434
434
  [repo-settings-branches]: https://github.com/ness/PKFire/settings/branches
435
435
 
@@ -480,23 +480,23 @@
480
480
  [Settings → Environments][repo-settings-envs] → New environment → `pypi`
481
481
  3. Publish a release by pushing a tag:
482
482
  ```sh
483
- git tag 0.1.0 # or your desired first version number
483
+ git tag v0.1.0 # or your desired first version number
484
484
  git push --tags
485
485
  ```
486
486
 
487
487
  ## Releasing
488
488
 
489
- 1. Update `CHANGELOG.md`: move items from `[Unreleased]` into a new version
490
- section and update the comparison link at the bottom
491
- 2. Commit and tag:
492
- ```sh
493
- git tag X.Y.Z
494
- git push --tags
495
- ```
489
+ Create and push a tag:
490
+
491
+ ```sh
492
+ git tag vX.Y.Z
493
+ git push --tags
494
+ ```
496
495
 
497
496
  [pypi-publishing-settings]: https://pypi.org/manage/account/publishing/
498
497
  [pypi-trusted-publishing]: https://docs.pypi.org/trusted-publishers/
499
498
  [renovate]: https://github.com/apps/renovate
499
+ [repo-releases]: https://github.com/ness/PKFire/releases
500
500
  [repo-settings]: https://github.com/ness/PKFire/settings
501
501
  [repo-settings-envs]: https://github.com/ness/PKFire/settings/environments
502
502
  [repo-settings-branches]: https://github.com/ness/PKFire/settings/branches
@@ -76,11 +76,19 @@
76
76
  Onett Little League
77
77
 
78
78
  [![License](https://img.shields.io/github/license/ness/PKFire)](LICENSE)
79
+ [![PyPI](https://img.shields.io/pypi/v/PKFire)](https://pypi.org/project/PKFire/)
80
+ [![Python](https://img.shields.io/pypi/pyversions/PKFire)](https://pypi.org/project/PKFire/)
79
81
  [![CI](https://github.com/ness/PKFire/actions/workflows/ci.yaml/badge.svg)](https://github.com/ness/PKFire/actions/workflows/ci.yaml)
80
82
  [![Coverage](https://codecov.io/gh/ness/PKFire/branch/main/graph/badge.svg)](https://codecov.io/gh/ness/PKFire)
81
83
  [![Renovate](https://img.shields.io/badge/renovate-enabled-brightgreen?logo=renovatebot)](https://renovatebot.com)
82
84
  [![GitHub stars](https://img.shields.io/github/stars/ness/PKFire?style=social)](https://github.com/ness/PKFire)
83
85
 
86
+ ## Installation
87
+
88
+ ```sh
89
+ pip install PKFire
90
+ ```
91
+
84
92
  '''
85
93
  # ---
86
94
  # name: test_readme_project_type[library]
@@ -0,0 +1,503 @@
1
+ # serializer version: 1
2
+ # name: test_zensical_features[no_pypi-private]
3
+ '''
4
+ [project]
5
+ site_name = "PKFire"
6
+ site_description = "Onett Little League"
7
+ site_author = "Ness"
8
+ copyright = "© 1995 Ness"
9
+
10
+ nav = [
11
+ { "Home" = [
12
+ { "Overview" = "index.md" },
13
+ { "License" = "license.md" },
14
+ ] },
15
+ { "API Reference" = "api.md" },
16
+ { "Development" = [
17
+ { "Contributing" = "contributing.md" },
18
+ { "Maintaining" = "maintaining.md" },
19
+ ] },
20
+ ]
21
+
22
+ # ----------------------------------------------------------------------------
23
+ # Theme
24
+ # ----------------------------------------------------------------------------
25
+ [project.theme]
26
+ language = "en"
27
+ features = [
28
+ "content.code.annotate",
29
+ "content.code.copy",
30
+ "content.tooltips",
31
+ "navigation.expand",
32
+ "navigation.footer",
33
+ "navigation.instant",
34
+ "navigation.path",
35
+ "navigation.sections",
36
+ "navigation.tabs",
37
+ "navigation.tabs.sticky",
38
+ "navigation.top",
39
+ "search.highlight",
40
+ "toc.follow",
41
+ ]
42
+
43
+ [project.theme.icon]
44
+ logo = "lucide/sparkles"
45
+
46
+ [[project.theme.palette]]
47
+ media = "(prefers-color-scheme)"
48
+ toggle.icon = "material/brightness-auto"
49
+ toggle.name = "Switch to light mode"
50
+
51
+ [[project.theme.palette]]
52
+ media = "(prefers-color-scheme: light)"
53
+ scheme = "default"
54
+ primary = "teal"
55
+ accent = "purple"
56
+ toggle.icon = "material/weather-sunny"
57
+ toggle.name = "Switch to dark mode"
58
+
59
+ [[project.theme.palette]]
60
+ media = "(prefers-color-scheme: dark)"
61
+ scheme = "slate"
62
+ primary = "black"
63
+ accent = "lime"
64
+ toggle.icon = "material/weather-night"
65
+ toggle.name = "Switch to system preference"
66
+
67
+ # ----------------------------------------------------------------------------
68
+ # Markdown extensions
69
+ # ----------------------------------------------------------------------------
70
+ [project.markdown_extensions.admonition]
71
+
72
+ [project.markdown_extensions.attr_list]
73
+
74
+ [project.markdown_extensions.def_list]
75
+
76
+ [project.markdown_extensions.footnotes]
77
+
78
+ [project.markdown_extensions.md_in_html]
79
+
80
+ [project.markdown_extensions.toc]
81
+ permalink = true
82
+
83
+ [project.markdown_extensions.pymdownx.details]
84
+
85
+ [project.markdown_extensions.pymdownx.highlight]
86
+
87
+ [project.markdown_extensions.pymdownx.inlinehilite]
88
+
89
+ [project.markdown_extensions.pymdownx.snippets]
90
+ base_path = ["."]
91
+ check_paths = true
92
+
93
+ [project.markdown_extensions.pymdownx.superfences]
94
+
95
+ [project.markdown_extensions.pymdownx.tabbed]
96
+ alternate_style = true
97
+
98
+ [project.markdown_extensions.pymdownx.tasklist]
99
+ custom_checkbox = true
100
+
101
+ # ----------------------------------------------------------------------------
102
+ # Plugins
103
+ # ----------------------------------------------------------------------------
104
+ [project.plugins.mkdocstrings.handlers.python]
105
+ paths = ["."]
106
+ inventories = ["https://docs.python.org/3/objects.inv"]
107
+
108
+ [project.plugins.mkdocstrings.handlers.python.options]
109
+ docstring_section_style = "list"
110
+ filters = "public"
111
+ heading_level = 1
112
+ merge_init_into_class = true
113
+ separate_signature = true
114
+ show_root_heading = true
115
+ show_root_full_path = false
116
+ show_signature_annotations = true
117
+ show_source = true
118
+ show_symbol_type_heading = true
119
+ show_symbol_type_toc = true
120
+
121
+ '''
122
+ # ---
123
+ # name: test_zensical_features[no_pypi-public]
124
+ '''
125
+ [project]
126
+ site_name = "PKFire"
127
+ site_description = "Onett Little League"
128
+ site_author = "Ness"
129
+ site_url = "https://ness.github.io/PKFire"
130
+ repo_url = "https://github.com/ness/PKFire"
131
+ repo_name = "ness/PKFire"
132
+ copyright = "© 1995 Ness"
133
+
134
+ nav = [
135
+ { "Home" = [
136
+ { "Overview" = "index.md" },
137
+ { "License" = "license.md" },
138
+ ] },
139
+ { "API Reference" = "api.md" },
140
+ { "Development" = [
141
+ { "Contributing" = "contributing.md" },
142
+ { "Maintaining" = "maintaining.md" },
143
+ ] },
144
+ ]
145
+
146
+ # ----------------------------------------------------------------------------
147
+ # Theme
148
+ # ----------------------------------------------------------------------------
149
+ [project.theme]
150
+ language = "en"
151
+ features = [
152
+ "content.code.annotate",
153
+ "content.code.copy",
154
+ "content.tooltips",
155
+ "navigation.expand",
156
+ "navigation.footer",
157
+ "navigation.instant",
158
+ "navigation.path",
159
+ "navigation.sections",
160
+ "navigation.tabs",
161
+ "navigation.tabs.sticky",
162
+ "navigation.top",
163
+ "search.highlight",
164
+ "toc.follow",
165
+ ]
166
+
167
+ [project.theme.icon]
168
+ logo = "lucide/sparkles"
169
+
170
+ [[project.theme.palette]]
171
+ media = "(prefers-color-scheme)"
172
+ toggle.icon = "material/brightness-auto"
173
+ toggle.name = "Switch to light mode"
174
+
175
+ [[project.theme.palette]]
176
+ media = "(prefers-color-scheme: light)"
177
+ scheme = "default"
178
+ primary = "teal"
179
+ accent = "purple"
180
+ toggle.icon = "material/weather-sunny"
181
+ toggle.name = "Switch to dark mode"
182
+
183
+ [[project.theme.palette]]
184
+ media = "(prefers-color-scheme: dark)"
185
+ scheme = "slate"
186
+ primary = "black"
187
+ accent = "lime"
188
+ toggle.icon = "material/weather-night"
189
+ toggle.name = "Switch to system preference"
190
+
191
+ [[project.extra.social]]
192
+ icon = "fontawesome/brands/github"
193
+ link = "https://github.com/ness"
194
+
195
+ # ----------------------------------------------------------------------------
196
+ # Markdown extensions
197
+ # ----------------------------------------------------------------------------
198
+ [project.markdown_extensions.admonition]
199
+
200
+ [project.markdown_extensions.attr_list]
201
+
202
+ [project.markdown_extensions.def_list]
203
+
204
+ [project.markdown_extensions.footnotes]
205
+
206
+ [project.markdown_extensions.md_in_html]
207
+
208
+ [project.markdown_extensions.toc]
209
+ permalink = true
210
+
211
+ [project.markdown_extensions.pymdownx.details]
212
+
213
+ [project.markdown_extensions.pymdownx.highlight]
214
+
215
+ [project.markdown_extensions.pymdownx.inlinehilite]
216
+
217
+ [project.markdown_extensions.pymdownx.snippets]
218
+ base_path = ["."]
219
+ check_paths = true
220
+
221
+ [project.markdown_extensions.pymdownx.superfences]
222
+
223
+ [project.markdown_extensions.pymdownx.tabbed]
224
+ alternate_style = true
225
+
226
+ [project.markdown_extensions.pymdownx.tasklist]
227
+ custom_checkbox = true
228
+
229
+ # ----------------------------------------------------------------------------
230
+ # Plugins
231
+ # ----------------------------------------------------------------------------
232
+ [project.plugins.mkdocstrings.handlers.python]
233
+ paths = ["."]
234
+ inventories = ["https://docs.python.org/3/objects.inv"]
235
+
236
+ [project.plugins.mkdocstrings.handlers.python.options]
237
+ docstring_section_style = "list"
238
+ filters = "public"
239
+ heading_level = 1
240
+ merge_init_into_class = true
241
+ separate_signature = true
242
+ show_root_heading = true
243
+ show_root_full_path = false
244
+ show_signature_annotations = true
245
+ show_source = true
246
+ show_symbol_type_heading = true
247
+ show_symbol_type_toc = true
248
+
249
+ '''
250
+ # ---
251
+ # name: test_zensical_features[pypi-private]
252
+ '''
253
+ [project]
254
+ site_name = "PKFire"
255
+ site_description = "Onett Little League"
256
+ site_author = "Ness"
257
+ copyright = "© 1995 Ness"
258
+
259
+ nav = [
260
+ { "Home" = [
261
+ { "Overview" = "index.md" },
262
+ { "License" = "license.md" },
263
+ ] },
264
+ { "API Reference" = "api.md" },
265
+ { "Development" = [
266
+ { "Contributing" = "contributing.md" },
267
+ { "Maintaining" = "maintaining.md" },
268
+ ] },
269
+ ]
270
+
271
+ # ----------------------------------------------------------------------------
272
+ # Theme
273
+ # ----------------------------------------------------------------------------
274
+ [project.theme]
275
+ language = "en"
276
+ features = [
277
+ "content.code.annotate",
278
+ "content.code.copy",
279
+ "content.tooltips",
280
+ "navigation.expand",
281
+ "navigation.footer",
282
+ "navigation.instant",
283
+ "navigation.path",
284
+ "navigation.sections",
285
+ "navigation.tabs",
286
+ "navigation.tabs.sticky",
287
+ "navigation.top",
288
+ "search.highlight",
289
+ "toc.follow",
290
+ ]
291
+
292
+ [project.theme.icon]
293
+ logo = "lucide/sparkles"
294
+
295
+ [[project.theme.palette]]
296
+ media = "(prefers-color-scheme)"
297
+ toggle.icon = "material/brightness-auto"
298
+ toggle.name = "Switch to light mode"
299
+
300
+ [[project.theme.palette]]
301
+ media = "(prefers-color-scheme: light)"
302
+ scheme = "default"
303
+ primary = "teal"
304
+ accent = "purple"
305
+ toggle.icon = "material/weather-sunny"
306
+ toggle.name = "Switch to dark mode"
307
+
308
+ [[project.theme.palette]]
309
+ media = "(prefers-color-scheme: dark)"
310
+ scheme = "slate"
311
+ primary = "black"
312
+ accent = "lime"
313
+ toggle.icon = "material/weather-night"
314
+ toggle.name = "Switch to system preference"
315
+
316
+ # ----------------------------------------------------------------------------
317
+ # Markdown extensions
318
+ # ----------------------------------------------------------------------------
319
+ [project.markdown_extensions.admonition]
320
+
321
+ [project.markdown_extensions.attr_list]
322
+
323
+ [project.markdown_extensions.def_list]
324
+
325
+ [project.markdown_extensions.footnotes]
326
+
327
+ [project.markdown_extensions.md_in_html]
328
+
329
+ [project.markdown_extensions.toc]
330
+ permalink = true
331
+
332
+ [project.markdown_extensions.pymdownx.details]
333
+
334
+ [project.markdown_extensions.pymdownx.highlight]
335
+
336
+ [project.markdown_extensions.pymdownx.inlinehilite]
337
+
338
+ [project.markdown_extensions.pymdownx.snippets]
339
+ base_path = ["."]
340
+ check_paths = true
341
+
342
+ [project.markdown_extensions.pymdownx.superfences]
343
+
344
+ [project.markdown_extensions.pymdownx.tabbed]
345
+ alternate_style = true
346
+
347
+ [project.markdown_extensions.pymdownx.tasklist]
348
+ custom_checkbox = true
349
+
350
+ # ----------------------------------------------------------------------------
351
+ # Plugins
352
+ # ----------------------------------------------------------------------------
353
+ [project.plugins.mkdocstrings.handlers.python]
354
+ paths = ["."]
355
+ inventories = ["https://docs.python.org/3/objects.inv"]
356
+
357
+ [project.plugins.mkdocstrings.handlers.python.options]
358
+ docstring_section_style = "list"
359
+ filters = "public"
360
+ heading_level = 1
361
+ merge_init_into_class = true
362
+ separate_signature = true
363
+ show_root_heading = true
364
+ show_root_full_path = false
365
+ show_signature_annotations = true
366
+ show_source = true
367
+ show_symbol_type_heading = true
368
+ show_symbol_type_toc = true
369
+
370
+ '''
371
+ # ---
372
+ # name: test_zensical_features[pypi-public]
373
+ '''
374
+ [project]
375
+ site_name = "PKFire"
376
+ site_description = "Onett Little League"
377
+ site_author = "Ness"
378
+ site_url = "https://ness.github.io/PKFire"
379
+ repo_url = "https://github.com/ness/PKFire"
380
+ repo_name = "ness/PKFire"
381
+ copyright = "© 1995 Ness"
382
+
383
+ nav = [
384
+ { "Home" = [
385
+ { "Overview" = "index.md" },
386
+ { "License" = "license.md" },
387
+ ] },
388
+ { "API Reference" = "api.md" },
389
+ { "Development" = [
390
+ { "Contributing" = "contributing.md" },
391
+ { "Maintaining" = "maintaining.md" },
392
+ ] },
393
+ ]
394
+
395
+ # ----------------------------------------------------------------------------
396
+ # Theme
397
+ # ----------------------------------------------------------------------------
398
+ [project.theme]
399
+ language = "en"
400
+ features = [
401
+ "content.code.annotate",
402
+ "content.code.copy",
403
+ "content.tooltips",
404
+ "navigation.expand",
405
+ "navigation.footer",
406
+ "navigation.instant",
407
+ "navigation.path",
408
+ "navigation.sections",
409
+ "navigation.tabs",
410
+ "navigation.tabs.sticky",
411
+ "navigation.top",
412
+ "search.highlight",
413
+ "toc.follow",
414
+ ]
415
+
416
+ [project.theme.icon]
417
+ logo = "lucide/sparkles"
418
+
419
+ [[project.theme.palette]]
420
+ media = "(prefers-color-scheme)"
421
+ toggle.icon = "material/brightness-auto"
422
+ toggle.name = "Switch to light mode"
423
+
424
+ [[project.theme.palette]]
425
+ media = "(prefers-color-scheme: light)"
426
+ scheme = "default"
427
+ primary = "teal"
428
+ accent = "purple"
429
+ toggle.icon = "material/weather-sunny"
430
+ toggle.name = "Switch to dark mode"
431
+
432
+ [[project.theme.palette]]
433
+ media = "(prefers-color-scheme: dark)"
434
+ scheme = "slate"
435
+ primary = "black"
436
+ accent = "lime"
437
+ toggle.icon = "material/weather-night"
438
+ toggle.name = "Switch to system preference"
439
+
440
+ [[project.extra.social]]
441
+ icon = "fontawesome/brands/github"
442
+ link = "https://github.com/ness"
443
+
444
+ [[project.extra.social]]
445
+ icon = "fontawesome/brands/python"
446
+ link = "https://pypi.org/project/PKFire/"
447
+
448
+ # ----------------------------------------------------------------------------
449
+ # Markdown extensions
450
+ # ----------------------------------------------------------------------------
451
+ [project.markdown_extensions.admonition]
452
+
453
+ [project.markdown_extensions.attr_list]
454
+
455
+ [project.markdown_extensions.def_list]
456
+
457
+ [project.markdown_extensions.footnotes]
458
+
459
+ [project.markdown_extensions.md_in_html]
460
+
461
+ [project.markdown_extensions.toc]
462
+ permalink = true
463
+
464
+ [project.markdown_extensions.pymdownx.details]
465
+
466
+ [project.markdown_extensions.pymdownx.highlight]
467
+
468
+ [project.markdown_extensions.pymdownx.inlinehilite]
469
+
470
+ [project.markdown_extensions.pymdownx.snippets]
471
+ base_path = ["."]
472
+ check_paths = true
473
+
474
+ [project.markdown_extensions.pymdownx.superfences]
475
+
476
+ [project.markdown_extensions.pymdownx.tabbed]
477
+ alternate_style = true
478
+
479
+ [project.markdown_extensions.pymdownx.tasklist]
480
+ custom_checkbox = true
481
+
482
+ # ----------------------------------------------------------------------------
483
+ # Plugins
484
+ # ----------------------------------------------------------------------------
485
+ [project.plugins.mkdocstrings.handlers.python]
486
+ paths = ["."]
487
+ inventories = ["https://docs.python.org/3/objects.inv"]
488
+
489
+ [project.plugins.mkdocstrings.handlers.python.options]
490
+ docstring_section_style = "list"
491
+ filters = "public"
492
+ heading_level = 1
493
+ merge_init_into_class = true
494
+ separate_signature = true
495
+ show_root_heading = true
496
+ show_root_full_path = false
497
+ show_signature_annotations = true
498
+ show_source = true
499
+ show_symbol_type_heading = true
500
+ show_symbol_type_toc = true
501
+
502
+ '''
503
+ # ---
@@ -0,0 +1,21 @@
1
+ """Snapshot tests for compose.yaml template."""
2
+
3
+ from collections.abc import Callable
4
+ from pathlib import Path
5
+
6
+ import pytest
7
+ from syrupy.assertion import SnapshotAssertion
8
+
9
+
10
+ @pytest.mark.parametrize("project_visibility", ["public", "private"])
11
+ def test_compose_features(
12
+ render_template: Callable[..., Path],
13
+ snapshot: SnapshotAssertion,
14
+ project_visibility: str,
15
+ ) -> None:
16
+ rendered = render_template(
17
+ project_type="application",
18
+ project_visibility=project_visibility,
19
+ enable_container=True,
20
+ )
21
+ assert (rendered / "compose.yaml").read_text() == snapshot
@@ -13,28 +13,27 @@ import pytest
13
13
  pytest.param(
14
14
  {"enable_coverage": False, "enable_pypi": False},
15
15
  [
16
+ "docs",
16
17
  "pyproject.toml",
18
+ "zensical.toml",
17
19
  "README.md",
18
20
  "CONTRIBUTING.md",
19
- "CHANGELOG.md",
20
21
  "LICENSE",
21
22
  ".gitignore",
22
23
  ".pre-commit-config.yaml",
23
24
  "renovate.json",
24
25
  "MAINTAINING.md",
25
26
  ".github/workflows/ci.yaml",
27
+ ".github/workflows/docs.yaml",
26
28
  ".github/workflows/audit.yaml",
27
29
  ],
28
30
  [
29
31
  "Dockerfile",
30
32
  ".dockerignore",
31
33
  "compose.yaml",
32
- "docs",
33
- "zensical.toml",
34
34
  ".github/workflows/release.yaml",
35
35
  ".github/workflows/container.yaml",
36
36
  ".github/workflows/ghcr.yaml",
37
- ".github/workflows/docs.yaml",
38
37
  ],
39
38
  id="public_library_minimal",
40
39
  ),
@@ -0,0 +1,27 @@
1
+ """Snapshot tests for zensical.toml template."""
2
+
3
+ from collections.abc import Callable
4
+ from pathlib import Path
5
+
6
+ import pytest
7
+ from syrupy.assertion import SnapshotAssertion
8
+
9
+
10
+ @pytest.mark.parametrize("project_visibility", ["public", "private"])
11
+ @pytest.mark.parametrize(
12
+ "enable_pypi",
13
+ [pytest.param(True, id="pypi"), pytest.param(False, id="no_pypi")],
14
+ )
15
+ def test_zensical_features(
16
+ render_template: Callable[..., Path],
17
+ snapshot: SnapshotAssertion,
18
+ *,
19
+ project_visibility: str,
20
+ enable_pypi: bool,
21
+ ) -> None:
22
+ rendered = render_template(
23
+ project_visibility=project_visibility,
24
+ enable_pypi=enable_pypi,
25
+ enable_docs=True,
26
+ )
27
+ assert (rendered / "zensical.toml").read_text() == snapshot
@@ -1,39 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
- ## [Unreleased]
9
-
10
- ## [0.1.3] - 2026-03-31
11
-
12
- ### Changed
13
-
14
- * GitHub actions versions
15
-
16
- ## [0.1.2] - 2026-03-31
17
-
18
- ### Fixed
19
-
20
- * Add repository checkout action to GitHub release creation job
21
-
22
- ## [0.1.1] - 2026-03-31
23
-
24
- ### Fixed
25
-
26
- * Fix CI badge URL in README.md
27
- * Move GitHub release creation to a separate job for build artifact availability
28
-
29
- ## [0.1.0] - 2026-03-31
30
-
31
- ### Added
32
-
33
- * Initial release
34
-
35
- [Unreleased]: https://github.com/smkent/copier-python/compare/0.1.3...main/
36
- [0.1.3]: https://github.com/smkent/copier-python/compare/0.1.2...0.1.3
37
- [0.1.2]: https://github.com/smkent/copier-python/compare/0.1.1...0.1.2
38
- [0.1.1]: https://github.com/smkent/copier-python/compare/0.1.0...0.1.1
39
- [0.1.0]: https://github.com/smkent/copier-python/releases/tag/0.1.0
@@ -1,5 +0,0 @@
1
- ---
2
- icon: lucide/history
3
- ---
4
-
5
- --8<-- "CHANGELOG.md"
File without changes
File without changes