copier-python 0.5.0__tar.gz → 0.6.0__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 (45) hide show
  1. {copier_python-0.5.0 → copier_python-0.6.0}/PKG-INFO +1 -1
  2. {copier_python-0.5.0 → copier_python-0.6.0}/pyproject.toml +6 -6
  3. {copier_python-0.5.0 → copier_python-0.6.0}/tests/__snapshots__/test_pyproject.ambr +66 -66
  4. {copier_python-0.5.0 → copier_python-0.6.0}/tests/__snapshots__/test_readme.ambr +98 -4
  5. {copier_python-0.5.0 → copier_python-0.6.0}/tests/test_readme.py +11 -1
  6. {copier_python-0.5.0 → copier_python-0.6.0}/.gitignore +0 -0
  7. {copier_python-0.5.0 → copier_python-0.6.0}/CONTRIBUTING.md +0 -0
  8. {copier_python-0.5.0 → copier_python-0.6.0}/LICENSE +0 -0
  9. {copier_python-0.5.0 → copier_python-0.6.0}/README.md +0 -0
  10. {copier_python-0.5.0 → copier_python-0.6.0}/copier_python/__init__.py +0 -0
  11. {copier_python-0.5.0 → copier_python-0.6.0}/copier_python/py.typed +0 -0
  12. {copier_python-0.5.0 → copier_python-0.6.0}/docs/contributing.md +0 -0
  13. {copier_python-0.5.0 → copier_python-0.6.0}/docs/development/requirements.md +0 -0
  14. {copier_python-0.5.0 → copier_python-0.6.0}/docs/development/updates.md +0 -0
  15. {copier_python-0.5.0 → copier_python-0.6.0}/docs/development/workflow.md +0 -0
  16. {copier_python-0.5.0 → copier_python-0.6.0}/docs/index.md +0 -0
  17. {copier_python-0.5.0 → copier_python-0.6.0}/docs/license.md +0 -0
  18. {copier_python-0.5.0 → copier_python-0.6.0}/docs/project-creation.md +0 -0
  19. {copier_python-0.5.0 → copier_python-0.6.0}/docs/project-development.md +0 -0
  20. {copier_python-0.5.0 → copier_python-0.6.0}/docs/project-release.md +0 -0
  21. {copier_python-0.5.0 → copier_python-0.6.0}/docs/project-setup.md +0 -0
  22. {copier_python-0.5.0 → copier_python-0.6.0}/docs/project-updates.md +0 -0
  23. {copier_python-0.5.0 → copier_python-0.6.0}/docs/releasing.md +0 -0
  24. {copier_python-0.5.0 → copier_python-0.6.0}/docs/requirements.md +0 -0
  25. {copier_python-0.5.0 → copier_python-0.6.0}/docs/setup.md +0 -0
  26. {copier_python-0.5.0 → copier_python-0.6.0}/tests/__init__.py +0 -0
  27. {copier_python-0.5.0 → copier_python-0.6.0}/tests/__snapshots__/test_compose.ambr +0 -0
  28. {copier_python-0.5.0 → copier_python-0.6.0}/tests/__snapshots__/test_contributing.ambr +0 -0
  29. {copier_python-0.5.0 → copier_python-0.6.0}/tests/__snapshots__/test_dockerfile.ambr +0 -0
  30. {copier_python-0.5.0 → copier_python-0.6.0}/tests/__snapshots__/test_docs.ambr +0 -0
  31. {copier_python-0.5.0 → copier_python-0.6.0}/tests/__snapshots__/test_license.ambr +0 -0
  32. {copier_python-0.5.0 → copier_python-0.6.0}/tests/__snapshots__/test_workflows.ambr +0 -0
  33. {copier_python-0.5.0 → copier_python-0.6.0}/tests/__snapshots__/test_zensical.ambr +0 -0
  34. {copier_python-0.5.0 → copier_python-0.6.0}/tests/conftest.py +0 -0
  35. {copier_python-0.5.0 → copier_python-0.6.0}/tests/test_compose.py +0 -0
  36. {copier_python-0.5.0 → copier_python-0.6.0}/tests/test_contributing.py +0 -0
  37. {copier_python-0.5.0 → copier_python-0.6.0}/tests/test_dockerfile.py +0 -0
  38. {copier_python-0.5.0 → copier_python-0.6.0}/tests/test_docs.py +0 -0
  39. {copier_python-0.5.0 → copier_python-0.6.0}/tests/test_license.py +0 -0
  40. {copier_python-0.5.0 → copier_python-0.6.0}/tests/test_pyproject.py +0 -0
  41. {copier_python-0.5.0 → copier_python-0.6.0}/tests/test_structure.py +0 -0
  42. {copier_python-0.5.0 → copier_python-0.6.0}/tests/test_template.py +0 -0
  43. {copier_python-0.5.0 → copier_python-0.6.0}/tests/test_version.py +0 -0
  44. {copier_python-0.5.0 → copier_python-0.6.0}/tests/test_workflows.py +0 -0
  45. {copier_python-0.5.0 → copier_python-0.6.0}/tests/test_zensical.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: copier-python
3
- Version: 0.5.0
3
+ Version: 0.6.0
4
4
  Summary: Copier template for Python projects with modern tooling
5
5
  Project-URL: Homepage, https://smkent.github.io/copier-python
6
6
  Project-URL: Repository, https://github.com/smkent/copier-python
@@ -42,15 +42,15 @@ dev = [
42
42
  "poethepoet>=0.42",
43
43
  "prek>=0.3",
44
44
  "pysentry-rs>=0.4",
45
- "pytest>=9.0",
46
- "pytest-cov>=7.0",
47
- "pytest-sugar>=1.0",
48
- "syrupy>=4.0",
45
+ "pytest>=9",
46
+ "pytest-cov>=7",
47
+ "pytest-sugar>=1",
48
+ "syrupy>=5",
49
49
  "ruff>=0.15",
50
- "ty>=0.0.26",
50
+ "ty>=0.0.29",
51
51
  ]
52
52
  docs = [
53
- "zensical>=0.0.30",
53
+ "zensical>=0.0.32",
54
54
  ]
55
55
 
56
56
  [tool.hatch.build.targets.sdist]
@@ -38,15 +38,15 @@
38
38
  dev = [
39
39
  "poethepoet>=0.42",
40
40
  "prek>=0.3",
41
- "pytest>=9.0",
42
- "pytest-cov>=7.0",
43
- "pytest-sugar>=1.0",
41
+ "pytest>=9",
42
+ "pytest-cov>=7",
43
+ "pytest-sugar>=1",
44
44
  "ruff>=0.15",
45
- "ty>=0.0.26",
45
+ "ty>=0.0.29",
46
46
  ]
47
47
  docs = [
48
48
  "mkdocstrings[python]>=1",
49
- "zensical>=0.0.30",
49
+ "zensical>=0.0.32",
50
50
  ]
51
51
 
52
52
  [tool.hatch.build.targets.sdist]
@@ -252,15 +252,15 @@
252
252
  "poethepoet>=0.42",
253
253
  "prek>=0.3",
254
254
  "pysentry-rs>=0.4",
255
- "pytest>=9.0",
256
- "pytest-cov>=7.0",
257
- "pytest-sugar>=1.0",
255
+ "pytest>=9",
256
+ "pytest-cov>=7",
257
+ "pytest-sugar>=1",
258
258
  "ruff>=0.15",
259
- "ty>=0.0.26",
259
+ "ty>=0.0.29",
260
260
  ]
261
261
  docs = [
262
262
  "mkdocstrings[python]>=1",
263
- "zensical>=0.0.30",
263
+ "zensical>=0.0.32",
264
264
  ]
265
265
 
266
266
  [tool.hatch.build.targets.sdist]
@@ -462,15 +462,15 @@
462
462
  dev = [
463
463
  "poethepoet>=0.42",
464
464
  "prek>=0.3",
465
- "pytest>=9.0",
466
- "pytest-cov>=7.0",
467
- "pytest-sugar>=1.0",
465
+ "pytest>=9",
466
+ "pytest-cov>=7",
467
+ "pytest-sugar>=1",
468
468
  "ruff>=0.15",
469
- "ty>=0.0.26",
469
+ "ty>=0.0.29",
470
470
  ]
471
471
  docs = [
472
472
  "mkdocstrings[python]>=1",
473
- "zensical>=0.0.30",
473
+ "zensical>=0.0.32",
474
474
  ]
475
475
 
476
476
  [tool.hatch.build.targets.sdist]
@@ -652,15 +652,15 @@
652
652
  "poethepoet>=0.42",
653
653
  "prek>=0.3",
654
654
  "pysentry-rs>=0.4",
655
- "pytest>=9.0",
656
- "pytest-cov>=7.0",
657
- "pytest-sugar>=1.0",
655
+ "pytest>=9",
656
+ "pytest-cov>=7",
657
+ "pytest-sugar>=1",
658
658
  "ruff>=0.15",
659
- "ty>=0.0.26",
659
+ "ty>=0.0.29",
660
660
  ]
661
661
  docs = [
662
662
  "mkdocstrings[python]>=1",
663
- "zensical>=0.0.30",
663
+ "zensical>=0.0.32",
664
664
  ]
665
665
 
666
666
  [tool.hatch.build.targets.sdist]
@@ -846,11 +846,11 @@
846
846
  dev = [
847
847
  "poethepoet>=0.42",
848
848
  "prek>=0.3",
849
- "pytest>=9.0",
850
- "pytest-cov>=7.0",
851
- "pytest-sugar>=1.0",
849
+ "pytest>=9",
850
+ "pytest-cov>=7",
851
+ "pytest-sugar>=1",
852
852
  "ruff>=0.15",
853
- "ty>=0.0.26",
853
+ "ty>=0.0.29",
854
854
  ]
855
855
 
856
856
  [tool.hatch.build.targets.sdist]
@@ -1035,11 +1035,11 @@
1035
1035
  "poethepoet>=0.42",
1036
1036
  "prek>=0.3",
1037
1037
  "pysentry-rs>=0.4",
1038
- "pytest>=9.0",
1039
- "pytest-cov>=7.0",
1040
- "pytest-sugar>=1.0",
1038
+ "pytest>=9",
1039
+ "pytest-cov>=7",
1040
+ "pytest-sugar>=1",
1041
1041
  "ruff>=0.15",
1042
- "ty>=0.0.26",
1042
+ "ty>=0.0.29",
1043
1043
  ]
1044
1044
 
1045
1045
  [tool.hatch.build.targets.sdist]
@@ -1220,11 +1220,11 @@
1220
1220
  dev = [
1221
1221
  "poethepoet>=0.42",
1222
1222
  "prek>=0.3",
1223
- "pytest>=9.0",
1224
- "pytest-cov>=7.0",
1225
- "pytest-sugar>=1.0",
1223
+ "pytest>=9",
1224
+ "pytest-cov>=7",
1225
+ "pytest-sugar>=1",
1226
1226
  "ruff>=0.15",
1227
- "ty>=0.0.26",
1227
+ "ty>=0.0.29",
1228
1228
  ]
1229
1229
 
1230
1230
  [tool.hatch.build.targets.sdist]
@@ -1385,11 +1385,11 @@
1385
1385
  "poethepoet>=0.42",
1386
1386
  "prek>=0.3",
1387
1387
  "pysentry-rs>=0.4",
1388
- "pytest>=9.0",
1389
- "pytest-cov>=7.0",
1390
- "pytest-sugar>=1.0",
1388
+ "pytest>=9",
1389
+ "pytest-cov>=7",
1390
+ "pytest-sugar>=1",
1391
1391
  "ruff>=0.15",
1392
- "ty>=0.0.26",
1392
+ "ty>=0.0.29",
1393
1393
  ]
1394
1394
 
1395
1395
  [tool.hatch.build.targets.sdist]
@@ -1558,15 +1558,15 @@
1558
1558
  "poethepoet>=0.42",
1559
1559
  "prek>=0.3",
1560
1560
  "pysentry-rs>=0.4",
1561
- "pytest>=9.0",
1562
- "pytest-cov>=7.0",
1563
- "pytest-sugar>=1.0",
1561
+ "pytest>=9",
1562
+ "pytest-cov>=7",
1563
+ "pytest-sugar>=1",
1564
1564
  "ruff>=0.15",
1565
- "ty>=0.0.26",
1565
+ "ty>=0.0.29",
1566
1566
  ]
1567
1567
  docs = [
1568
1568
  "mkdocstrings[python]>=1",
1569
- "zensical>=0.0.30",
1569
+ "zensical>=0.0.32",
1570
1570
  ]
1571
1571
 
1572
1572
  [tool.hatch.build.targets.sdist]
@@ -1764,15 +1764,15 @@
1764
1764
  "poethepoet>=0.42",
1765
1765
  "prek>=0.3",
1766
1766
  "pysentry-rs>=0.4",
1767
- "pytest>=9.0",
1768
- "pytest-cov>=7.0",
1769
- "pytest-sugar>=1.0",
1767
+ "pytest>=9",
1768
+ "pytest-cov>=7",
1769
+ "pytest-sugar>=1",
1770
1770
  "ruff>=0.15",
1771
- "ty>=0.0.26",
1771
+ "ty>=0.0.29",
1772
1772
  ]
1773
1773
  docs = [
1774
1774
  "mkdocstrings[python]>=1",
1775
- "zensical>=0.0.30",
1775
+ "zensical>=0.0.32",
1776
1776
  ]
1777
1777
 
1778
1778
  [tool.hatch.build.targets.sdist]
@@ -1964,15 +1964,15 @@
1964
1964
  "poethepoet>=0.42",
1965
1965
  "prek>=0.3",
1966
1966
  "pysentry-rs>=0.4",
1967
- "pytest>=9.0",
1968
- "pytest-cov>=7.0",
1969
- "pytest-sugar>=1.0",
1967
+ "pytest>=9",
1968
+ "pytest-cov>=7",
1969
+ "pytest-sugar>=1",
1970
1970
  "ruff>=0.15",
1971
- "ty>=0.0.26",
1971
+ "ty>=0.0.29",
1972
1972
  ]
1973
1973
  docs = [
1974
1974
  "mkdocstrings[python]>=1",
1975
- "zensical>=0.0.30",
1975
+ "zensical>=0.0.32",
1976
1976
  ]
1977
1977
 
1978
1978
  [tool.hatch.build.targets.sdist]
@@ -2182,15 +2182,15 @@
2182
2182
  "poethepoet>=0.42",
2183
2183
  "prek>=0.3",
2184
2184
  "pysentry-rs>=0.4",
2185
- "pytest>=9.0",
2186
- "pytest-cov>=7.0",
2187
- "pytest-sugar>=1.0",
2185
+ "pytest>=9",
2186
+ "pytest-cov>=7",
2187
+ "pytest-sugar>=1",
2188
2188
  "ruff>=0.15",
2189
- "ty>=0.0.26",
2189
+ "ty>=0.0.29",
2190
2190
  ]
2191
2191
  docs = [
2192
2192
  "mkdocstrings[python]>=1",
2193
- "zensical>=0.0.30",
2193
+ "zensical>=0.0.32",
2194
2194
  ]
2195
2195
 
2196
2196
  [tool.hatch.build.targets.sdist]
@@ -2392,15 +2392,15 @@
2392
2392
  "poethepoet>=0.42",
2393
2393
  "prek>=0.3",
2394
2394
  "pysentry-rs>=0.4",
2395
- "pytest>=9.0",
2396
- "pytest-cov>=7.0",
2397
- "pytest-sugar>=1.0",
2395
+ "pytest>=9",
2396
+ "pytest-cov>=7",
2397
+ "pytest-sugar>=1",
2398
2398
  "ruff>=0.15",
2399
- "ty>=0.0.26",
2399
+ "ty>=0.0.29",
2400
2400
  ]
2401
2401
  docs = [
2402
2402
  "mkdocstrings[python]>=1",
2403
- "zensical>=0.0.30",
2403
+ "zensical>=0.0.32",
2404
2404
  ]
2405
2405
 
2406
2406
  [tool.hatch.build.targets.sdist]
@@ -2610,15 +2610,15 @@
2610
2610
  "poethepoet>=0.42",
2611
2611
  "prek>=0.3",
2612
2612
  "pysentry-rs>=0.4",
2613
- "pytest>=9.0",
2614
- "pytest-cov>=7.0",
2615
- "pytest-sugar>=1.0",
2613
+ "pytest>=9",
2614
+ "pytest-cov>=7",
2615
+ "pytest-sugar>=1",
2616
2616
  "ruff>=0.15",
2617
- "ty>=0.0.26",
2617
+ "ty>=0.0.29",
2618
2618
  ]
2619
2619
  docs = [
2620
2620
  "mkdocstrings[python]>=1",
2621
- "zensical>=0.0.30",
2621
+ "zensical>=0.0.32",
2622
2622
  ]
2623
2623
 
2624
2624
  [tool.hatch.build.targets.sdist]
@@ -1,5 +1,99 @@
1
1
  # serializer version: 1
2
- # name: test_readme_features[no_pypi-coverage]
2
+ # name: test_readme_features[attribution-no_pypi-coverage]
3
+ '''
4
+ # PKFire
5
+
6
+ Onett Little League
7
+
8
+ [![License](https://img.shields.io/github/license/ness/PKFire)](https://github.com/ness/PKFire/blob/main/LICENSE)
9
+ [![CI](https://github.com/ness/PKFire/actions/workflows/ci.yaml/badge.svg)](https://github.com/ness/PKFire/actions/workflows/ci.yaml)
10
+ [![Coverage](https://codecov.io/gh/ness/PKFire/branch/main/graph/badge.svg)](https://codecov.io/gh/ness/PKFire)
11
+ [![Renovate](https://img.shields.io/badge/renovate-enabled-brightgreen?logo=renovatebot)](https://renovatebot.com)
12
+ [![GitHub stars](https://img.shields.io/github/stars/ness/PKFire?style=social)](https://github.com/ness/PKFire)
13
+
14
+ ## Project template
15
+
16
+ This project is generated and maintained with [copier-python][copier-python].
17
+
18
+ [copier-python]: https://smkent.github.io/copier-python
19
+
20
+ '''
21
+ # ---
22
+ # name: test_readme_features[attribution-no_pypi-no_coverage]
23
+ '''
24
+ # PKFire
25
+
26
+ Onett Little League
27
+
28
+ [![License](https://img.shields.io/github/license/ness/PKFire)](https://github.com/ness/PKFire/blob/main/LICENSE)
29
+ [![CI](https://github.com/ness/PKFire/actions/workflows/ci.yaml/badge.svg)](https://github.com/ness/PKFire/actions/workflows/ci.yaml)
30
+ [![Renovate](https://img.shields.io/badge/renovate-enabled-brightgreen?logo=renovatebot)](https://renovatebot.com)
31
+ [![GitHub stars](https://img.shields.io/github/stars/ness/PKFire?style=social)](https://github.com/ness/PKFire)
32
+
33
+ ## Project template
34
+
35
+ This project is generated and maintained with [copier-python][copier-python].
36
+
37
+ [copier-python]: https://smkent.github.io/copier-python
38
+
39
+ '''
40
+ # ---
41
+ # name: test_readme_features[attribution-pypi-coverage]
42
+ '''
43
+ # PKFire
44
+
45
+ Onett Little League
46
+
47
+ [![License](https://img.shields.io/github/license/ness/PKFire)](https://github.com/ness/PKFire/blob/main/LICENSE)
48
+ [![PyPI](https://img.shields.io/pypi/v/PKFire)](https://pypi.org/project/PKFire/)
49
+ [![Python](https://img.shields.io/pypi/pyversions/PKFire)](https://pypi.org/project/PKFire/)
50
+ [![CI](https://github.com/ness/PKFire/actions/workflows/ci.yaml/badge.svg)](https://github.com/ness/PKFire/actions/workflows/ci.yaml)
51
+ [![Coverage](https://codecov.io/gh/ness/PKFire/branch/main/graph/badge.svg)](https://codecov.io/gh/ness/PKFire)
52
+ [![Renovate](https://img.shields.io/badge/renovate-enabled-brightgreen?logo=renovatebot)](https://renovatebot.com)
53
+ [![GitHub stars](https://img.shields.io/github/stars/ness/PKFire?style=social)](https://github.com/ness/PKFire)
54
+
55
+ ## Installation
56
+
57
+ ```sh
58
+ pip install PKFire
59
+ ```
60
+
61
+ ## Project template
62
+
63
+ This project is generated and maintained with [copier-python][copier-python].
64
+
65
+ [copier-python]: https://smkent.github.io/copier-python
66
+
67
+ '''
68
+ # ---
69
+ # name: test_readme_features[attribution-pypi-no_coverage]
70
+ '''
71
+ # PKFire
72
+
73
+ Onett Little League
74
+
75
+ [![License](https://img.shields.io/github/license/ness/PKFire)](https://github.com/ness/PKFire/blob/main/LICENSE)
76
+ [![PyPI](https://img.shields.io/pypi/v/PKFire)](https://pypi.org/project/PKFire/)
77
+ [![Python](https://img.shields.io/pypi/pyversions/PKFire)](https://pypi.org/project/PKFire/)
78
+ [![CI](https://github.com/ness/PKFire/actions/workflows/ci.yaml/badge.svg)](https://github.com/ness/PKFire/actions/workflows/ci.yaml)
79
+ [![Renovate](https://img.shields.io/badge/renovate-enabled-brightgreen?logo=renovatebot)](https://renovatebot.com)
80
+ [![GitHub stars](https://img.shields.io/github/stars/ness/PKFire?style=social)](https://github.com/ness/PKFire)
81
+
82
+ ## Installation
83
+
84
+ ```sh
85
+ pip install PKFire
86
+ ```
87
+
88
+ ## Project template
89
+
90
+ This project is generated and maintained with [copier-python][copier-python].
91
+
92
+ [copier-python]: https://smkent.github.io/copier-python
93
+
94
+ '''
95
+ # ---
96
+ # name: test_readme_features[no_attribution-no_pypi-coverage]
3
97
  '''
4
98
  # PKFire
5
99
 
@@ -13,7 +107,7 @@
13
107
 
14
108
  '''
15
109
  # ---
16
- # name: test_readme_features[no_pypi-no_coverage]
110
+ # name: test_readme_features[no_attribution-no_pypi-no_coverage]
17
111
  '''
18
112
  # PKFire
19
113
 
@@ -26,7 +120,7 @@
26
120
 
27
121
  '''
28
122
  # ---
29
- # name: test_readme_features[pypi-coverage]
123
+ # name: test_readme_features[no_attribution-pypi-coverage]
30
124
  '''
31
125
  # PKFire
32
126
 
@@ -48,7 +142,7 @@
48
142
 
49
143
  '''
50
144
  # ---
51
- # name: test_readme_features[pypi-no_coverage]
145
+ # name: test_readme_features[no_attribution-pypi-no_coverage]
52
146
  '''
53
147
  # PKFire
54
148
 
@@ -15,15 +15,25 @@ from syrupy.assertion import SnapshotAssertion
15
15
  "enable_pypi",
16
16
  [pytest.param(True, id="pypi"), pytest.param(False, id="no_pypi")],
17
17
  )
18
+ @pytest.mark.parametrize(
19
+ "template_attribution",
20
+ [
21
+ pytest.param(True, id="attribution"),
22
+ pytest.param(False, id="no_attribution"),
23
+ ],
24
+ )
18
25
  def test_readme_features(
19
26
  render_template: Callable[..., Path],
20
27
  snapshot: SnapshotAssertion,
21
28
  *,
22
29
  enable_coverage: bool,
23
30
  enable_pypi: bool,
31
+ template_attribution: bool,
24
32
  ) -> None:
25
33
  rendered = render_template(
26
- enable_coverage=enable_coverage, enable_pypi=enable_pypi
34
+ enable_coverage=enable_coverage,
35
+ enable_pypi=enable_pypi,
36
+ template_attribution=template_attribution,
27
37
  )
28
38
  assert (rendered / "README.md").read_text() == snapshot
29
39
 
File without changes
File without changes
File without changes