copier-python 0.11.3__tar.gz → 0.12.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.
- {copier_python-0.11.3 → copier_python-0.12.0}/PKG-INFO +1 -1
- {copier_python-0.11.3 → copier_python-0.12.0}/pyproject.toml +4 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/conftest.py +1 -1
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/__snapshots__/test_pyproject.ambr +38 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/test_update.py +13 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/.gitignore +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/AGENTS.md +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/CONTRIBUTING.md +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/LICENSE +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/README.md +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/copier_python/__init__.py +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/copier_python/__main__.py +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/copier_python/py.typed +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/copier_python/repo.py +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/copier_python/update.py +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/docs/contributing.md +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/docs/development/requirements.md +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/docs/development/updates.md +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/docs/development/workflow.md +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/docs/index.md +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/docs/license.md +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/docs/project-creation.md +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/docs/project-development.md +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/docs/project-release.md +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/docs/project-setup.md +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/docs/project-updates.md +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/docs/releasing.md +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/docs/requirements.md +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/docs/setup.md +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/__init__.py +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/__init__.py +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/__snapshots__/test_agents.ambr +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/__snapshots__/test_compose.ambr +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/__snapshots__/test_contributing.ambr +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/__snapshots__/test_dockerfile.ambr +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/__snapshots__/test_docs.ambr +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/__snapshots__/test_license.ambr +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/__snapshots__/test_readme.ambr +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/__snapshots__/test_workflows.ambr +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/__snapshots__/test_zensical.ambr +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/test_agents.py +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/test_compose.py +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/test_contributing.py +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/test_dockerfile.py +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/test_docs.py +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/test_license.py +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/test_pyproject.py +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/test_readme.py +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/test_structure.py +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/test_template.py +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/test_version.py +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/test_workflows.py +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/template/test_zensical.py +0 -0
- {copier_python-0.11.3 → copier_python-0.12.0}/tests/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: copier-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.12.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
|
|
@@ -215,6 +215,7 @@ select = ["ALL"]
|
|
|
215
215
|
ignore = [
|
|
216
216
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
217
217
|
"COM812", # Trailing comma missing
|
|
218
|
+
"CPY001", # Missing copyright notice at top of file
|
|
218
219
|
"D1", # Missing docstring presence rules
|
|
219
220
|
"EM", # flake8-errmsg
|
|
220
221
|
"G004", # Logging statement uses f-string
|
|
@@ -236,6 +237,9 @@ known-first-party = ["copier_python"]
|
|
|
236
237
|
[tool.ruff.lint.pydocstyle]
|
|
237
238
|
convention = "google"
|
|
238
239
|
|
|
240
|
+
[tool.ty.src]
|
|
241
|
+
include = ["copier_python/", "tests/"]
|
|
242
|
+
|
|
239
243
|
[tool.ty.terminal]
|
|
240
244
|
error-on-warning = true
|
|
241
245
|
output-format = "concise"
|
|
@@ -20,7 +20,7 @@ TEMPLATE_ROOT = Path(__file__).parent.parent
|
|
|
20
20
|
DEFAULT_DATA: dict[str, Any] = {
|
|
21
21
|
"project_name": "PKFire",
|
|
22
22
|
"project_description": "Onett Little League",
|
|
23
|
-
"project_type": "
|
|
23
|
+
"project_type": "application",
|
|
24
24
|
"project_visibility": "public",
|
|
25
25
|
"python_version_minimum": "3.10",
|
|
26
26
|
"user_name": "Ness",
|
{copier_python-0.11.3 → copier_python-0.12.0}/tests/template/__snapshots__/test_pyproject.ambr
RENAMED
|
@@ -189,6 +189,7 @@
|
|
|
189
189
|
ignore = [
|
|
190
190
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
191
191
|
"COM812", # Trailing comma missing
|
|
192
|
+
"CPY001", # Missing copyright notice at top of file
|
|
192
193
|
"D1", # Missing docstring presence rules
|
|
193
194
|
"EM", # flake8-errmsg
|
|
194
195
|
"G004", # Logging statement uses f-string
|
|
@@ -428,6 +429,7 @@
|
|
|
428
429
|
ignore = [
|
|
429
430
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
430
431
|
"COM812", # Trailing comma missing
|
|
432
|
+
"CPY001", # Missing copyright notice at top of file
|
|
431
433
|
"D1", # Missing docstring presence rules
|
|
432
434
|
"EM", # flake8-errmsg
|
|
433
435
|
"G004", # Logging statement uses f-string
|
|
@@ -631,6 +633,7 @@
|
|
|
631
633
|
ignore = [
|
|
632
634
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
633
635
|
"COM812", # Trailing comma missing
|
|
636
|
+
"CPY001", # Missing copyright notice at top of file
|
|
634
637
|
"D1", # Missing docstring presence rules
|
|
635
638
|
"EM", # flake8-errmsg
|
|
636
639
|
"G004", # Logging statement uses f-string
|
|
@@ -846,6 +849,7 @@
|
|
|
846
849
|
ignore = [
|
|
847
850
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
848
851
|
"COM812", # Trailing comma missing
|
|
852
|
+
"CPY001", # Missing copyright notice at top of file
|
|
849
853
|
"D1", # Missing docstring presence rules
|
|
850
854
|
"EM", # flake8-errmsg
|
|
851
855
|
"G004", # Logging statement uses f-string
|
|
@@ -1048,6 +1052,7 @@
|
|
|
1048
1052
|
ignore = [
|
|
1049
1053
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
1050
1054
|
"COM812", # Trailing comma missing
|
|
1055
|
+
"CPY001", # Missing copyright notice at top of file
|
|
1051
1056
|
"D1", # Missing docstring presence rules
|
|
1052
1057
|
"EM", # flake8-errmsg
|
|
1053
1058
|
"G004", # Logging statement uses f-string
|
|
@@ -1262,6 +1267,7 @@
|
|
|
1262
1267
|
ignore = [
|
|
1263
1268
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
1264
1269
|
"COM812", # Trailing comma missing
|
|
1270
|
+
"CPY001", # Missing copyright notice at top of file
|
|
1265
1271
|
"D1", # Missing docstring presence rules
|
|
1266
1272
|
"EM", # flake8-errmsg
|
|
1267
1273
|
"G004", # Logging statement uses f-string
|
|
@@ -1440,6 +1446,7 @@
|
|
|
1440
1446
|
ignore = [
|
|
1441
1447
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
1442
1448
|
"COM812", # Trailing comma missing
|
|
1449
|
+
"CPY001", # Missing copyright notice at top of file
|
|
1443
1450
|
"D1", # Missing docstring presence rules
|
|
1444
1451
|
"EM", # flake8-errmsg
|
|
1445
1452
|
"G004", # Logging statement uses f-string
|
|
@@ -1630,6 +1637,7 @@
|
|
|
1630
1637
|
ignore = [
|
|
1631
1638
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
1632
1639
|
"COM812", # Trailing comma missing
|
|
1640
|
+
"CPY001", # Missing copyright notice at top of file
|
|
1633
1641
|
"D1", # Missing docstring presence rules
|
|
1634
1642
|
"EM", # flake8-errmsg
|
|
1635
1643
|
"G004", # Logging statement uses f-string
|
|
@@ -1862,6 +1870,7 @@
|
|
|
1862
1870
|
ignore = [
|
|
1863
1871
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
1864
1872
|
"COM812", # Trailing comma missing
|
|
1873
|
+
"CPY001", # Missing copyright notice at top of file
|
|
1865
1874
|
"D1", # Missing docstring presence rules
|
|
1866
1875
|
"EM", # flake8-errmsg
|
|
1867
1876
|
"G004", # Logging statement uses f-string
|
|
@@ -2106,6 +2115,7 @@
|
|
|
2106
2115
|
ignore = [
|
|
2107
2116
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
2108
2117
|
"COM812", # Trailing comma missing
|
|
2118
|
+
"CPY001", # Missing copyright notice at top of file
|
|
2109
2119
|
"D1", # Missing docstring presence rules
|
|
2110
2120
|
"EM", # flake8-errmsg
|
|
2111
2121
|
"G004", # Logging statement uses f-string
|
|
@@ -2314,6 +2324,7 @@
|
|
|
2314
2324
|
ignore = [
|
|
2315
2325
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
2316
2326
|
"COM812", # Trailing comma missing
|
|
2327
|
+
"CPY001", # Missing copyright notice at top of file
|
|
2317
2328
|
"D1", # Missing docstring presence rules
|
|
2318
2329
|
"EM", # flake8-errmsg
|
|
2319
2330
|
"G004", # Logging statement uses f-string
|
|
@@ -2534,6 +2545,7 @@
|
|
|
2534
2545
|
ignore = [
|
|
2535
2546
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
2536
2547
|
"COM812", # Trailing comma missing
|
|
2548
|
+
"CPY001", # Missing copyright notice at top of file
|
|
2537
2549
|
"D1", # Missing docstring presence rules
|
|
2538
2550
|
"EM", # flake8-errmsg
|
|
2539
2551
|
"G004", # Logging statement uses f-string
|
|
@@ -2741,6 +2753,7 @@
|
|
|
2741
2753
|
ignore = [
|
|
2742
2754
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
2743
2755
|
"COM812", # Trailing comma missing
|
|
2756
|
+
"CPY001", # Missing copyright notice at top of file
|
|
2744
2757
|
"D1", # Missing docstring presence rules
|
|
2745
2758
|
"EM", # flake8-errmsg
|
|
2746
2759
|
"G004", # Logging statement uses f-string
|
|
@@ -2960,6 +2973,7 @@
|
|
|
2960
2973
|
ignore = [
|
|
2961
2974
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
2962
2975
|
"COM812", # Trailing comma missing
|
|
2976
|
+
"CPY001", # Missing copyright notice at top of file
|
|
2963
2977
|
"D1", # Missing docstring presence rules
|
|
2964
2978
|
"EM", # flake8-errmsg
|
|
2965
2979
|
"G004", # Logging statement uses f-string
|
|
@@ -3143,6 +3157,7 @@
|
|
|
3143
3157
|
ignore = [
|
|
3144
3158
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
3145
3159
|
"COM812", # Trailing comma missing
|
|
3160
|
+
"CPY001", # Missing copyright notice at top of file
|
|
3146
3161
|
"D1", # Missing docstring presence rules
|
|
3147
3162
|
"EM", # flake8-errmsg
|
|
3148
3163
|
"G004", # Logging statement uses f-string
|
|
@@ -3338,6 +3353,7 @@
|
|
|
3338
3353
|
ignore = [
|
|
3339
3354
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
3340
3355
|
"COM812", # Trailing comma missing
|
|
3356
|
+
"CPY001", # Missing copyright notice at top of file
|
|
3341
3357
|
"D1", # Missing docstring presence rules
|
|
3342
3358
|
"EM", # flake8-errmsg
|
|
3343
3359
|
"G004", # Logging statement uses f-string
|
|
@@ -3568,6 +3584,7 @@
|
|
|
3568
3584
|
ignore = [
|
|
3569
3585
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
3570
3586
|
"COM812", # Trailing comma missing
|
|
3587
|
+
"CPY001", # Missing copyright notice at top of file
|
|
3571
3588
|
"D1", # Missing docstring presence rules
|
|
3572
3589
|
"EM", # flake8-errmsg
|
|
3573
3590
|
"G004", # Logging statement uses f-string
|
|
@@ -3810,6 +3827,7 @@
|
|
|
3810
3827
|
ignore = [
|
|
3811
3828
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
3812
3829
|
"COM812", # Trailing comma missing
|
|
3830
|
+
"CPY001", # Missing copyright notice at top of file
|
|
3813
3831
|
"D1", # Missing docstring presence rules
|
|
3814
3832
|
"EM", # flake8-errmsg
|
|
3815
3833
|
"G004", # Logging statement uses f-string
|
|
@@ -4016,6 +4034,7 @@
|
|
|
4016
4034
|
ignore = [
|
|
4017
4035
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
4018
4036
|
"COM812", # Trailing comma missing
|
|
4037
|
+
"CPY001", # Missing copyright notice at top of file
|
|
4019
4038
|
"D1", # Missing docstring presence rules
|
|
4020
4039
|
"EM", # flake8-errmsg
|
|
4021
4040
|
"G004", # Logging statement uses f-string
|
|
@@ -4234,6 +4253,7 @@
|
|
|
4234
4253
|
ignore = [
|
|
4235
4254
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
4236
4255
|
"COM812", # Trailing comma missing
|
|
4256
|
+
"CPY001", # Missing copyright notice at top of file
|
|
4237
4257
|
"D1", # Missing docstring presence rules
|
|
4238
4258
|
"EM", # flake8-errmsg
|
|
4239
4259
|
"G004", # Logging statement uses f-string
|
|
@@ -4439,6 +4459,7 @@
|
|
|
4439
4459
|
ignore = [
|
|
4440
4460
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
4441
4461
|
"COM812", # Trailing comma missing
|
|
4462
|
+
"CPY001", # Missing copyright notice at top of file
|
|
4442
4463
|
"D1", # Missing docstring presence rules
|
|
4443
4464
|
"EM", # flake8-errmsg
|
|
4444
4465
|
"G004", # Logging statement uses f-string
|
|
@@ -4656,6 +4677,7 @@
|
|
|
4656
4677
|
ignore = [
|
|
4657
4678
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
4658
4679
|
"COM812", # Trailing comma missing
|
|
4680
|
+
"CPY001", # Missing copyright notice at top of file
|
|
4659
4681
|
"D1", # Missing docstring presence rules
|
|
4660
4682
|
"EM", # flake8-errmsg
|
|
4661
4683
|
"G004", # Logging statement uses f-string
|
|
@@ -4837,6 +4859,7 @@
|
|
|
4837
4859
|
ignore = [
|
|
4838
4860
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
4839
4861
|
"COM812", # Trailing comma missing
|
|
4862
|
+
"CPY001", # Missing copyright notice at top of file
|
|
4840
4863
|
"D1", # Missing docstring presence rules
|
|
4841
4864
|
"EM", # flake8-errmsg
|
|
4842
4865
|
"G004", # Logging statement uses f-string
|
|
@@ -5030,6 +5053,7 @@
|
|
|
5030
5053
|
ignore = [
|
|
5031
5054
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
5032
5055
|
"COM812", # Trailing comma missing
|
|
5056
|
+
"CPY001", # Missing copyright notice at top of file
|
|
5033
5057
|
"D1", # Missing docstring presence rules
|
|
5034
5058
|
"EM", # flake8-errmsg
|
|
5035
5059
|
"G004", # Logging statement uses f-string
|
|
@@ -5265,6 +5289,7 @@
|
|
|
5265
5289
|
ignore = [
|
|
5266
5290
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
5267
5291
|
"COM812", # Trailing comma missing
|
|
5292
|
+
"CPY001", # Missing copyright notice at top of file
|
|
5268
5293
|
"D1", # Missing docstring presence rules
|
|
5269
5294
|
"EM", # flake8-errmsg
|
|
5270
5295
|
"G004", # Logging statement uses f-string
|
|
@@ -5512,6 +5537,7 @@
|
|
|
5512
5537
|
ignore = [
|
|
5513
5538
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
5514
5539
|
"COM812", # Trailing comma missing
|
|
5540
|
+
"CPY001", # Missing copyright notice at top of file
|
|
5515
5541
|
"D1", # Missing docstring presence rules
|
|
5516
5542
|
"EM", # flake8-errmsg
|
|
5517
5543
|
"G004", # Logging statement uses f-string
|
|
@@ -5723,6 +5749,7 @@
|
|
|
5723
5749
|
ignore = [
|
|
5724
5750
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
5725
5751
|
"COM812", # Trailing comma missing
|
|
5752
|
+
"CPY001", # Missing copyright notice at top of file
|
|
5726
5753
|
"D1", # Missing docstring presence rules
|
|
5727
5754
|
"EM", # flake8-errmsg
|
|
5728
5755
|
"G004", # Logging statement uses f-string
|
|
@@ -5946,6 +5973,7 @@
|
|
|
5946
5973
|
ignore = [
|
|
5947
5974
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
5948
5975
|
"COM812", # Trailing comma missing
|
|
5976
|
+
"CPY001", # Missing copyright notice at top of file
|
|
5949
5977
|
"D1", # Missing docstring presence rules
|
|
5950
5978
|
"EM", # flake8-errmsg
|
|
5951
5979
|
"G004", # Logging statement uses f-string
|
|
@@ -6156,6 +6184,7 @@
|
|
|
6156
6184
|
ignore = [
|
|
6157
6185
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
6158
6186
|
"COM812", # Trailing comma missing
|
|
6187
|
+
"CPY001", # Missing copyright notice at top of file
|
|
6159
6188
|
"D1", # Missing docstring presence rules
|
|
6160
6189
|
"EM", # flake8-errmsg
|
|
6161
6190
|
"G004", # Logging statement uses f-string
|
|
@@ -6378,6 +6407,7 @@
|
|
|
6378
6407
|
ignore = [
|
|
6379
6408
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
6380
6409
|
"COM812", # Trailing comma missing
|
|
6410
|
+
"CPY001", # Missing copyright notice at top of file
|
|
6381
6411
|
"D1", # Missing docstring presence rules
|
|
6382
6412
|
"EM", # flake8-errmsg
|
|
6383
6413
|
"G004", # Logging statement uses f-string
|
|
@@ -6564,6 +6594,7 @@
|
|
|
6564
6594
|
ignore = [
|
|
6565
6595
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
6566
6596
|
"COM812", # Trailing comma missing
|
|
6597
|
+
"CPY001", # Missing copyright notice at top of file
|
|
6567
6598
|
"D1", # Missing docstring presence rules
|
|
6568
6599
|
"EM", # flake8-errmsg
|
|
6569
6600
|
"G004", # Logging statement uses f-string
|
|
@@ -6762,6 +6793,7 @@
|
|
|
6762
6793
|
ignore = [
|
|
6763
6794
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
6764
6795
|
"COM812", # Trailing comma missing
|
|
6796
|
+
"CPY001", # Missing copyright notice at top of file
|
|
6765
6797
|
"D1", # Missing docstring presence rules
|
|
6766
6798
|
"EM", # flake8-errmsg
|
|
6767
6799
|
"G004", # Logging statement uses f-string
|
|
@@ -6997,6 +7029,7 @@
|
|
|
6997
7029
|
ignore = [
|
|
6998
7030
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
6999
7031
|
"COM812", # Trailing comma missing
|
|
7032
|
+
"CPY001", # Missing copyright notice at top of file
|
|
7000
7033
|
"D1", # Missing docstring presence rules
|
|
7001
7034
|
"EM", # flake8-errmsg
|
|
7002
7035
|
"G004", # Logging statement uses f-string
|
|
@@ -7220,6 +7253,7 @@
|
|
|
7220
7253
|
ignore = [
|
|
7221
7254
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
7222
7255
|
"COM812", # Trailing comma missing
|
|
7256
|
+
"CPY001", # Missing copyright notice at top of file
|
|
7223
7257
|
"D1", # Missing docstring presence rules
|
|
7224
7258
|
"EM", # flake8-errmsg
|
|
7225
7259
|
"G004", # Logging statement uses f-string
|
|
@@ -7467,6 +7501,7 @@
|
|
|
7467
7501
|
ignore = [
|
|
7468
7502
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
7469
7503
|
"COM812", # Trailing comma missing
|
|
7504
|
+
"CPY001", # Missing copyright notice at top of file
|
|
7470
7505
|
"D1", # Missing docstring presence rules
|
|
7471
7506
|
"EM", # flake8-errmsg
|
|
7472
7507
|
"G004", # Logging statement uses f-string
|
|
@@ -7702,6 +7737,7 @@
|
|
|
7702
7737
|
ignore = [
|
|
7703
7738
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
7704
7739
|
"COM812", # Trailing comma missing
|
|
7740
|
+
"CPY001", # Missing copyright notice at top of file
|
|
7705
7741
|
"D1", # Missing docstring presence rules
|
|
7706
7742
|
"EM", # flake8-errmsg
|
|
7707
7743
|
"G004", # Logging statement uses f-string
|
|
@@ -7949,6 +7985,7 @@
|
|
|
7949
7985
|
ignore = [
|
|
7950
7986
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
7951
7987
|
"COM812", # Trailing comma missing
|
|
7988
|
+
"CPY001", # Missing copyright notice at top of file
|
|
7952
7989
|
"D1", # Missing docstring presence rules
|
|
7953
7990
|
"EM", # flake8-errmsg
|
|
7954
7991
|
"G004", # Logging statement uses f-string
|
|
@@ -8184,6 +8221,7 @@
|
|
|
8184
8221
|
ignore = [
|
|
8185
8222
|
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
|
|
8186
8223
|
"COM812", # Trailing comma missing
|
|
8224
|
+
"CPY001", # Missing copyright notice at top of file
|
|
8187
8225
|
"D1", # Missing docstring presence rules
|
|
8188
8226
|
"EM", # flake8-errmsg
|
|
8189
8227
|
"G004", # Logging statement uses f-string
|
|
@@ -71,15 +71,28 @@ def create_project(
|
|
|
71
71
|
render_template: Callable[..., Path],
|
|
72
72
|
origin: Path,
|
|
73
73
|
) -> Callable[..., Path]:
|
|
74
|
+
|
|
75
|
+
def _vcs_ref_timestamp(ref: str) -> str:
|
|
76
|
+
with disallow_subprocess.pause():
|
|
77
|
+
return subprocess.run( # noqa: S603
|
|
78
|
+
["git", "log", "-n", "1", "--format=%aI", str(ref), "--"],
|
|
79
|
+
check=True,
|
|
80
|
+
capture_output=True,
|
|
81
|
+
text=True,
|
|
82
|
+
).stdout.strip()
|
|
83
|
+
|
|
74
84
|
def _create(
|
|
75
85
|
vcs_ref: str,
|
|
76
86
|
postcreate: Callable[[Path], None] | None = None,
|
|
77
87
|
**kwargs: Any,
|
|
78
88
|
) -> Path:
|
|
79
89
|
project = render_template(vcs_ref=vcs_ref)
|
|
90
|
+
timestamp = _vcs_ref_timestamp(vcs_ref)
|
|
80
91
|
for cmd in (
|
|
81
92
|
["git", "init", "-b", DEFAULT_BRANCH_NAME],
|
|
82
93
|
["git", "remote", "add", "origin", str(origin)],
|
|
94
|
+
["uv", "sync", f"--exclude-newer={timestamp}"],
|
|
95
|
+
["uv", "sync"],
|
|
83
96
|
["git", "add", "."],
|
|
84
97
|
["git", "commit", "-m", "init from template"],
|
|
85
98
|
["git", "push", "-u", "origin", DEFAULT_BRANCH_NAME],
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{copier_python-0.11.3 → copier_python-0.12.0}/tests/template/__snapshots__/test_compose.ambr
RENAMED
|
File without changes
|
{copier_python-0.11.3 → copier_python-0.12.0}/tests/template/__snapshots__/test_contributing.ambr
RENAMED
|
File without changes
|
{copier_python-0.11.3 → copier_python-0.12.0}/tests/template/__snapshots__/test_dockerfile.ambr
RENAMED
|
File without changes
|
|
File without changes
|
{copier_python-0.11.3 → copier_python-0.12.0}/tests/template/__snapshots__/test_license.ambr
RENAMED
|
File without changes
|
|
File without changes
|
{copier_python-0.11.3 → copier_python-0.12.0}/tests/template/__snapshots__/test_workflows.ambr
RENAMED
|
File without changes
|
{copier_python-0.11.3 → copier_python-0.12.0}/tests/template/__snapshots__/test_zensical.ambr
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|