copier-python 0.11.2__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.
Files changed (54) hide show
  1. {copier_python-0.11.2 → copier_python-0.12.0}/PKG-INFO +1 -1
  2. {copier_python-0.11.2 → copier_python-0.12.0}/pyproject.toml +4 -0
  3. {copier_python-0.11.2 → copier_python-0.12.0}/tests/conftest.py +1 -1
  4. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/__snapshots__/test_pyproject.ambr +152 -0
  5. {copier_python-0.11.2 → copier_python-0.12.0}/tests/test_update.py +13 -0
  6. {copier_python-0.11.2 → copier_python-0.12.0}/.gitignore +0 -0
  7. {copier_python-0.11.2 → copier_python-0.12.0}/AGENTS.md +0 -0
  8. {copier_python-0.11.2 → copier_python-0.12.0}/CONTRIBUTING.md +0 -0
  9. {copier_python-0.11.2 → copier_python-0.12.0}/LICENSE +0 -0
  10. {copier_python-0.11.2 → copier_python-0.12.0}/README.md +0 -0
  11. {copier_python-0.11.2 → copier_python-0.12.0}/copier_python/__init__.py +0 -0
  12. {copier_python-0.11.2 → copier_python-0.12.0}/copier_python/__main__.py +0 -0
  13. {copier_python-0.11.2 → copier_python-0.12.0}/copier_python/py.typed +0 -0
  14. {copier_python-0.11.2 → copier_python-0.12.0}/copier_python/repo.py +0 -0
  15. {copier_python-0.11.2 → copier_python-0.12.0}/copier_python/update.py +0 -0
  16. {copier_python-0.11.2 → copier_python-0.12.0}/docs/contributing.md +0 -0
  17. {copier_python-0.11.2 → copier_python-0.12.0}/docs/development/requirements.md +0 -0
  18. {copier_python-0.11.2 → copier_python-0.12.0}/docs/development/updates.md +0 -0
  19. {copier_python-0.11.2 → copier_python-0.12.0}/docs/development/workflow.md +0 -0
  20. {copier_python-0.11.2 → copier_python-0.12.0}/docs/index.md +0 -0
  21. {copier_python-0.11.2 → copier_python-0.12.0}/docs/license.md +0 -0
  22. {copier_python-0.11.2 → copier_python-0.12.0}/docs/project-creation.md +0 -0
  23. {copier_python-0.11.2 → copier_python-0.12.0}/docs/project-development.md +0 -0
  24. {copier_python-0.11.2 → copier_python-0.12.0}/docs/project-release.md +0 -0
  25. {copier_python-0.11.2 → copier_python-0.12.0}/docs/project-setup.md +0 -0
  26. {copier_python-0.11.2 → copier_python-0.12.0}/docs/project-updates.md +0 -0
  27. {copier_python-0.11.2 → copier_python-0.12.0}/docs/releasing.md +0 -0
  28. {copier_python-0.11.2 → copier_python-0.12.0}/docs/requirements.md +0 -0
  29. {copier_python-0.11.2 → copier_python-0.12.0}/docs/setup.md +0 -0
  30. {copier_python-0.11.2 → copier_python-0.12.0}/tests/__init__.py +0 -0
  31. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/__init__.py +0 -0
  32. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/__snapshots__/test_agents.ambr +0 -0
  33. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/__snapshots__/test_compose.ambr +0 -0
  34. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/__snapshots__/test_contributing.ambr +0 -0
  35. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/__snapshots__/test_dockerfile.ambr +0 -0
  36. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/__snapshots__/test_docs.ambr +0 -0
  37. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/__snapshots__/test_license.ambr +0 -0
  38. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/__snapshots__/test_readme.ambr +0 -0
  39. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/__snapshots__/test_workflows.ambr +0 -0
  40. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/__snapshots__/test_zensical.ambr +0 -0
  41. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/test_agents.py +0 -0
  42. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/test_compose.py +0 -0
  43. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/test_contributing.py +0 -0
  44. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/test_dockerfile.py +0 -0
  45. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/test_docs.py +0 -0
  46. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/test_license.py +0 -0
  47. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/test_pyproject.py +0 -0
  48. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/test_readme.py +0 -0
  49. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/test_structure.py +0 -0
  50. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/test_template.py +0 -0
  51. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/test_version.py +0 -0
  52. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/test_workflows.py +0 -0
  53. {copier_python-0.11.2 → copier_python-0.12.0}/tests/template/test_zensical.py +0 -0
  54. {copier_python-0.11.2 → 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.11.2
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": "library",
23
+ "project_type": "application",
24
24
  "project_visibility": "public",
25
25
  "python_version_minimum": "3.10",
26
26
  "user_name": "Ness",
@@ -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
@@ -210,6 +211,9 @@
210
211
  [tool.ruff.lint.pydocstyle]
211
212
  convention = "google"
212
213
 
214
+ [tool.ty.src]
215
+ include = ["pkfire/", "tests/"]
216
+
213
217
  [tool.ty.terminal]
214
218
  error-on-warning = true
215
219
  output-format = "concise"
@@ -425,6 +429,7 @@
425
429
  ignore = [
426
430
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
427
431
  "COM812", # Trailing comma missing
432
+ "CPY001", # Missing copyright notice at top of file
428
433
  "D1", # Missing docstring presence rules
429
434
  "EM", # flake8-errmsg
430
435
  "G004", # Logging statement uses f-string
@@ -446,6 +451,9 @@
446
451
  [tool.ruff.lint.pydocstyle]
447
452
  convention = "google"
448
453
 
454
+ [tool.ty.src]
455
+ include = ["pkfire/", "tests/"]
456
+
449
457
  [tool.ty.terminal]
450
458
  error-on-warning = true
451
459
  output-format = "concise"
@@ -625,6 +633,7 @@
625
633
  ignore = [
626
634
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
627
635
  "COM812", # Trailing comma missing
636
+ "CPY001", # Missing copyright notice at top of file
628
637
  "D1", # Missing docstring presence rules
629
638
  "EM", # flake8-errmsg
630
639
  "G004", # Logging statement uses f-string
@@ -646,6 +655,9 @@
646
655
  [tool.ruff.lint.pydocstyle]
647
656
  convention = "google"
648
657
 
658
+ [tool.ty.src]
659
+ include = ["pkfire/", "tests/"]
660
+
649
661
  [tool.ty.terminal]
650
662
  error-on-warning = true
651
663
  output-format = "concise"
@@ -837,6 +849,7 @@
837
849
  ignore = [
838
850
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
839
851
  "COM812", # Trailing comma missing
852
+ "CPY001", # Missing copyright notice at top of file
840
853
  "D1", # Missing docstring presence rules
841
854
  "EM", # flake8-errmsg
842
855
  "G004", # Logging statement uses f-string
@@ -858,6 +871,9 @@
858
871
  [tool.ruff.lint.pydocstyle]
859
872
  convention = "google"
860
873
 
874
+ [tool.ty.src]
875
+ include = ["pkfire/", "tests/"]
876
+
861
877
  [tool.ty.terminal]
862
878
  error-on-warning = true
863
879
  output-format = "concise"
@@ -1036,6 +1052,7 @@
1036
1052
  ignore = [
1037
1053
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
1038
1054
  "COM812", # Trailing comma missing
1055
+ "CPY001", # Missing copyright notice at top of file
1039
1056
  "D1", # Missing docstring presence rules
1040
1057
  "EM", # flake8-errmsg
1041
1058
  "G004", # Logging statement uses f-string
@@ -1057,6 +1074,9 @@
1057
1074
  [tool.ruff.lint.pydocstyle]
1058
1075
  convention = "google"
1059
1076
 
1077
+ [tool.ty.src]
1078
+ include = ["pkfire/", "tests/"]
1079
+
1060
1080
  [tool.ty.terminal]
1061
1081
  error-on-warning = true
1062
1082
  output-format = "concise"
@@ -1247,6 +1267,7 @@
1247
1267
  ignore = [
1248
1268
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
1249
1269
  "COM812", # Trailing comma missing
1270
+ "CPY001", # Missing copyright notice at top of file
1250
1271
  "D1", # Missing docstring presence rules
1251
1272
  "EM", # flake8-errmsg
1252
1273
  "G004", # Logging statement uses f-string
@@ -1268,6 +1289,9 @@
1268
1289
  [tool.ruff.lint.pydocstyle]
1269
1290
  convention = "google"
1270
1291
 
1292
+ [tool.ty.src]
1293
+ include = ["pkfire/", "tests/"]
1294
+
1271
1295
  [tool.ty.terminal]
1272
1296
  error-on-warning = true
1273
1297
  output-format = "concise"
@@ -1422,6 +1446,7 @@
1422
1446
  ignore = [
1423
1447
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
1424
1448
  "COM812", # Trailing comma missing
1449
+ "CPY001", # Missing copyright notice at top of file
1425
1450
  "D1", # Missing docstring presence rules
1426
1451
  "EM", # flake8-errmsg
1427
1452
  "G004", # Logging statement uses f-string
@@ -1443,6 +1468,9 @@
1443
1468
  [tool.ruff.lint.pydocstyle]
1444
1469
  convention = "google"
1445
1470
 
1471
+ [tool.ty.src]
1472
+ include = ["pkfire/", "tests/"]
1473
+
1446
1474
  [tool.ty.terminal]
1447
1475
  error-on-warning = true
1448
1476
  output-format = "concise"
@@ -1609,6 +1637,7 @@
1609
1637
  ignore = [
1610
1638
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
1611
1639
  "COM812", # Trailing comma missing
1640
+ "CPY001", # Missing copyright notice at top of file
1612
1641
  "D1", # Missing docstring presence rules
1613
1642
  "EM", # flake8-errmsg
1614
1643
  "G004", # Logging statement uses f-string
@@ -1630,6 +1659,9 @@
1630
1659
  [tool.ruff.lint.pydocstyle]
1631
1660
  convention = "google"
1632
1661
 
1662
+ [tool.ty.src]
1663
+ include = ["pkfire/", "tests/"]
1664
+
1633
1665
  [tool.ty.terminal]
1634
1666
  error-on-warning = true
1635
1667
  output-format = "concise"
@@ -1838,6 +1870,7 @@
1838
1870
  ignore = [
1839
1871
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
1840
1872
  "COM812", # Trailing comma missing
1873
+ "CPY001", # Missing copyright notice at top of file
1841
1874
  "D1", # Missing docstring presence rules
1842
1875
  "EM", # flake8-errmsg
1843
1876
  "G004", # Logging statement uses f-string
@@ -1859,6 +1892,9 @@
1859
1892
  [tool.ruff.lint.pydocstyle]
1860
1893
  convention = "google"
1861
1894
 
1895
+ [tool.ty.src]
1896
+ include = ["pkfire/", "tests/"]
1897
+
1862
1898
  [tool.ty.terminal]
1863
1899
  error-on-warning = true
1864
1900
  output-format = "concise"
@@ -2079,6 +2115,7 @@
2079
2115
  ignore = [
2080
2116
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
2081
2117
  "COM812", # Trailing comma missing
2118
+ "CPY001", # Missing copyright notice at top of file
2082
2119
  "D1", # Missing docstring presence rules
2083
2120
  "EM", # flake8-errmsg
2084
2121
  "G004", # Logging statement uses f-string
@@ -2100,6 +2137,9 @@
2100
2137
  [tool.ruff.lint.pydocstyle]
2101
2138
  convention = "google"
2102
2139
 
2140
+ [tool.ty.src]
2141
+ include = ["pkfire/", "tests/"]
2142
+
2103
2143
  [tool.ty.terminal]
2104
2144
  error-on-warning = true
2105
2145
  output-format = "concise"
@@ -2284,6 +2324,7 @@
2284
2324
  ignore = [
2285
2325
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
2286
2326
  "COM812", # Trailing comma missing
2327
+ "CPY001", # Missing copyright notice at top of file
2287
2328
  "D1", # Missing docstring presence rules
2288
2329
  "EM", # flake8-errmsg
2289
2330
  "G004", # Logging statement uses f-string
@@ -2305,6 +2346,9 @@
2305
2346
  [tool.ruff.lint.pydocstyle]
2306
2347
  convention = "google"
2307
2348
 
2349
+ [tool.ty.src]
2350
+ include = ["pkfire/", "tests/"]
2351
+
2308
2352
  [tool.ty.terminal]
2309
2353
  error-on-warning = true
2310
2354
  output-format = "concise"
@@ -2501,6 +2545,7 @@
2501
2545
  ignore = [
2502
2546
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
2503
2547
  "COM812", # Trailing comma missing
2548
+ "CPY001", # Missing copyright notice at top of file
2504
2549
  "D1", # Missing docstring presence rules
2505
2550
  "EM", # flake8-errmsg
2506
2551
  "G004", # Logging statement uses f-string
@@ -2522,6 +2567,9 @@
2522
2567
  [tool.ruff.lint.pydocstyle]
2523
2568
  convention = "google"
2524
2569
 
2570
+ [tool.ty.src]
2571
+ include = ["pkfire/", "tests/"]
2572
+
2525
2573
  [tool.ty.terminal]
2526
2574
  error-on-warning = true
2527
2575
  output-format = "concise"
@@ -2705,6 +2753,7 @@
2705
2753
  ignore = [
2706
2754
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
2707
2755
  "COM812", # Trailing comma missing
2756
+ "CPY001", # Missing copyright notice at top of file
2708
2757
  "D1", # Missing docstring presence rules
2709
2758
  "EM", # flake8-errmsg
2710
2759
  "G004", # Logging statement uses f-string
@@ -2726,6 +2775,9 @@
2726
2775
  [tool.ruff.lint.pydocstyle]
2727
2776
  convention = "google"
2728
2777
 
2778
+ [tool.ty.src]
2779
+ include = ["pkfire/", "tests/"]
2780
+
2729
2781
  [tool.ty.terminal]
2730
2782
  error-on-warning = true
2731
2783
  output-format = "concise"
@@ -2921,6 +2973,7 @@
2921
2973
  ignore = [
2922
2974
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
2923
2975
  "COM812", # Trailing comma missing
2976
+ "CPY001", # Missing copyright notice at top of file
2924
2977
  "D1", # Missing docstring presence rules
2925
2978
  "EM", # flake8-errmsg
2926
2979
  "G004", # Logging statement uses f-string
@@ -2942,6 +2995,9 @@
2942
2995
  [tool.ruff.lint.pydocstyle]
2943
2996
  convention = "google"
2944
2997
 
2998
+ [tool.ty.src]
2999
+ include = ["pkfire/", "tests/"]
3000
+
2945
3001
  [tool.ty.terminal]
2946
3002
  error-on-warning = true
2947
3003
  output-format = "concise"
@@ -3101,6 +3157,7 @@
3101
3157
  ignore = [
3102
3158
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
3103
3159
  "COM812", # Trailing comma missing
3160
+ "CPY001", # Missing copyright notice at top of file
3104
3161
  "D1", # Missing docstring presence rules
3105
3162
  "EM", # flake8-errmsg
3106
3163
  "G004", # Logging statement uses f-string
@@ -3122,6 +3179,9 @@
3122
3179
  [tool.ruff.lint.pydocstyle]
3123
3180
  convention = "google"
3124
3181
 
3182
+ [tool.ty.src]
3183
+ include = ["pkfire/", "tests/"]
3184
+
3125
3185
  [tool.ty.terminal]
3126
3186
  error-on-warning = true
3127
3187
  output-format = "concise"
@@ -3293,6 +3353,7 @@
3293
3353
  ignore = [
3294
3354
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
3295
3355
  "COM812", # Trailing comma missing
3356
+ "CPY001", # Missing copyright notice at top of file
3296
3357
  "D1", # Missing docstring presence rules
3297
3358
  "EM", # flake8-errmsg
3298
3359
  "G004", # Logging statement uses f-string
@@ -3314,6 +3375,9 @@
3314
3375
  [tool.ruff.lint.pydocstyle]
3315
3376
  convention = "google"
3316
3377
 
3378
+ [tool.ty.src]
3379
+ include = ["pkfire/", "tests/"]
3380
+
3317
3381
  [tool.ty.terminal]
3318
3382
  error-on-warning = true
3319
3383
  output-format = "concise"
@@ -3520,6 +3584,7 @@
3520
3584
  ignore = [
3521
3585
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
3522
3586
  "COM812", # Trailing comma missing
3587
+ "CPY001", # Missing copyright notice at top of file
3523
3588
  "D1", # Missing docstring presence rules
3524
3589
  "EM", # flake8-errmsg
3525
3590
  "G004", # Logging statement uses f-string
@@ -3541,6 +3606,9 @@
3541
3606
  [tool.ruff.lint.pydocstyle]
3542
3607
  convention = "google"
3543
3608
 
3609
+ [tool.ty.src]
3610
+ include = ["pkfire/", "tests/"]
3611
+
3544
3612
  [tool.ty.terminal]
3545
3613
  error-on-warning = true
3546
3614
  output-format = "concise"
@@ -3759,6 +3827,7 @@
3759
3827
  ignore = [
3760
3828
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
3761
3829
  "COM812", # Trailing comma missing
3830
+ "CPY001", # Missing copyright notice at top of file
3762
3831
  "D1", # Missing docstring presence rules
3763
3832
  "EM", # flake8-errmsg
3764
3833
  "G004", # Logging statement uses f-string
@@ -3780,6 +3849,9 @@
3780
3849
  [tool.ruff.lint.pydocstyle]
3781
3850
  convention = "google"
3782
3851
 
3852
+ [tool.ty.src]
3853
+ include = ["pkfire/", "tests/"]
3854
+
3783
3855
  [tool.ty.terminal]
3784
3856
  error-on-warning = true
3785
3857
  output-format = "concise"
@@ -3962,6 +4034,7 @@
3962
4034
  ignore = [
3963
4035
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
3964
4036
  "COM812", # Trailing comma missing
4037
+ "CPY001", # Missing copyright notice at top of file
3965
4038
  "D1", # Missing docstring presence rules
3966
4039
  "EM", # flake8-errmsg
3967
4040
  "G004", # Logging statement uses f-string
@@ -3983,6 +4056,9 @@
3983
4056
  [tool.ruff.lint.pydocstyle]
3984
4057
  convention = "google"
3985
4058
 
4059
+ [tool.ty.src]
4060
+ include = ["pkfire/", "tests/"]
4061
+
3986
4062
  [tool.ty.terminal]
3987
4063
  error-on-warning = true
3988
4064
  output-format = "concise"
@@ -4177,6 +4253,7 @@
4177
4253
  ignore = [
4178
4254
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
4179
4255
  "COM812", # Trailing comma missing
4256
+ "CPY001", # Missing copyright notice at top of file
4180
4257
  "D1", # Missing docstring presence rules
4181
4258
  "EM", # flake8-errmsg
4182
4259
  "G004", # Logging statement uses f-string
@@ -4198,6 +4275,9 @@
4198
4275
  [tool.ruff.lint.pydocstyle]
4199
4276
  convention = "google"
4200
4277
 
4278
+ [tool.ty.src]
4279
+ include = ["pkfire/", "tests/"]
4280
+
4201
4281
  [tool.ty.terminal]
4202
4282
  error-on-warning = true
4203
4283
  output-format = "concise"
@@ -4379,6 +4459,7 @@
4379
4459
  ignore = [
4380
4460
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
4381
4461
  "COM812", # Trailing comma missing
4462
+ "CPY001", # Missing copyright notice at top of file
4382
4463
  "D1", # Missing docstring presence rules
4383
4464
  "EM", # flake8-errmsg
4384
4465
  "G004", # Logging statement uses f-string
@@ -4400,6 +4481,9 @@
4400
4481
  [tool.ruff.lint.pydocstyle]
4401
4482
  convention = "google"
4402
4483
 
4484
+ [tool.ty.src]
4485
+ include = ["pkfire/", "tests/"]
4486
+
4403
4487
  [tool.ty.terminal]
4404
4488
  error-on-warning = true
4405
4489
  output-format = "concise"
@@ -4593,6 +4677,7 @@
4593
4677
  ignore = [
4594
4678
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
4595
4679
  "COM812", # Trailing comma missing
4680
+ "CPY001", # Missing copyright notice at top of file
4596
4681
  "D1", # Missing docstring presence rules
4597
4682
  "EM", # flake8-errmsg
4598
4683
  "G004", # Logging statement uses f-string
@@ -4614,6 +4699,9 @@
4614
4699
  [tool.ruff.lint.pydocstyle]
4615
4700
  convention = "google"
4616
4701
 
4702
+ [tool.ty.src]
4703
+ include = ["pkfire/", "tests/"]
4704
+
4617
4705
  [tool.ty.terminal]
4618
4706
  error-on-warning = true
4619
4707
  output-format = "concise"
@@ -4771,6 +4859,7 @@
4771
4859
  ignore = [
4772
4860
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
4773
4861
  "COM812", # Trailing comma missing
4862
+ "CPY001", # Missing copyright notice at top of file
4774
4863
  "D1", # Missing docstring presence rules
4775
4864
  "EM", # flake8-errmsg
4776
4865
  "G004", # Logging statement uses f-string
@@ -4792,6 +4881,9 @@
4792
4881
  [tool.ruff.lint.pydocstyle]
4793
4882
  convention = "google"
4794
4883
 
4884
+ [tool.ty.src]
4885
+ include = ["pkfire/", "tests/"]
4886
+
4795
4887
  [tool.ty.terminal]
4796
4888
  error-on-warning = true
4797
4889
  output-format = "concise"
@@ -4961,6 +5053,7 @@
4961
5053
  ignore = [
4962
5054
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
4963
5055
  "COM812", # Trailing comma missing
5056
+ "CPY001", # Missing copyright notice at top of file
4964
5057
  "D1", # Missing docstring presence rules
4965
5058
  "EM", # flake8-errmsg
4966
5059
  "G004", # Logging statement uses f-string
@@ -4982,6 +5075,9 @@
4982
5075
  [tool.ruff.lint.pydocstyle]
4983
5076
  convention = "google"
4984
5077
 
5078
+ [tool.ty.src]
5079
+ include = ["pkfire/", "tests/"]
5080
+
4985
5081
  [tool.ty.terminal]
4986
5082
  error-on-warning = true
4987
5083
  output-format = "concise"
@@ -5193,6 +5289,7 @@
5193
5289
  ignore = [
5194
5290
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
5195
5291
  "COM812", # Trailing comma missing
5292
+ "CPY001", # Missing copyright notice at top of file
5196
5293
  "D1", # Missing docstring presence rules
5197
5294
  "EM", # flake8-errmsg
5198
5295
  "G004", # Logging statement uses f-string
@@ -5214,6 +5311,9 @@
5214
5311
  [tool.ruff.lint.pydocstyle]
5215
5312
  convention = "google"
5216
5313
 
5314
+ [tool.ty.src]
5315
+ include = ["pkfire/", "tests/"]
5316
+
5217
5317
  [tool.ty.terminal]
5218
5318
  error-on-warning = true
5219
5319
  output-format = "concise"
@@ -5437,6 +5537,7 @@
5437
5537
  ignore = [
5438
5538
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
5439
5539
  "COM812", # Trailing comma missing
5540
+ "CPY001", # Missing copyright notice at top of file
5440
5541
  "D1", # Missing docstring presence rules
5441
5542
  "EM", # flake8-errmsg
5442
5543
  "G004", # Logging statement uses f-string
@@ -5458,6 +5559,9 @@
5458
5559
  [tool.ruff.lint.pydocstyle]
5459
5560
  convention = "google"
5460
5561
 
5562
+ [tool.ty.src]
5563
+ include = ["pkfire/", "tests/"]
5564
+
5461
5565
  [tool.ty.terminal]
5462
5566
  error-on-warning = true
5463
5567
  output-format = "concise"
@@ -5645,6 +5749,7 @@
5645
5749
  ignore = [
5646
5750
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
5647
5751
  "COM812", # Trailing comma missing
5752
+ "CPY001", # Missing copyright notice at top of file
5648
5753
  "D1", # Missing docstring presence rules
5649
5754
  "EM", # flake8-errmsg
5650
5755
  "G004", # Logging statement uses f-string
@@ -5666,6 +5771,9 @@
5666
5771
  [tool.ruff.lint.pydocstyle]
5667
5772
  convention = "google"
5668
5773
 
5774
+ [tool.ty.src]
5775
+ include = ["pkfire/", "tests/"]
5776
+
5669
5777
  [tool.ty.terminal]
5670
5778
  error-on-warning = true
5671
5779
  output-format = "concise"
@@ -5865,6 +5973,7 @@
5865
5973
  ignore = [
5866
5974
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
5867
5975
  "COM812", # Trailing comma missing
5976
+ "CPY001", # Missing copyright notice at top of file
5868
5977
  "D1", # Missing docstring presence rules
5869
5978
  "EM", # flake8-errmsg
5870
5979
  "G004", # Logging statement uses f-string
@@ -5886,6 +5995,9 @@
5886
5995
  [tool.ruff.lint.pydocstyle]
5887
5996
  convention = "google"
5888
5997
 
5998
+ [tool.ty.src]
5999
+ include = ["pkfire/", "tests/"]
6000
+
5889
6001
  [tool.ty.terminal]
5890
6002
  error-on-warning = true
5891
6003
  output-format = "concise"
@@ -6072,6 +6184,7 @@
6072
6184
  ignore = [
6073
6185
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
6074
6186
  "COM812", # Trailing comma missing
6187
+ "CPY001", # Missing copyright notice at top of file
6075
6188
  "D1", # Missing docstring presence rules
6076
6189
  "EM", # flake8-errmsg
6077
6190
  "G004", # Logging statement uses f-string
@@ -6093,6 +6206,9 @@
6093
6206
  [tool.ruff.lint.pydocstyle]
6094
6207
  convention = "google"
6095
6208
 
6209
+ [tool.ty.src]
6210
+ include = ["pkfire/", "tests/"]
6211
+
6096
6212
  [tool.ty.terminal]
6097
6213
  error-on-warning = true
6098
6214
  output-format = "concise"
@@ -6291,6 +6407,7 @@
6291
6407
  ignore = [
6292
6408
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
6293
6409
  "COM812", # Trailing comma missing
6410
+ "CPY001", # Missing copyright notice at top of file
6294
6411
  "D1", # Missing docstring presence rules
6295
6412
  "EM", # flake8-errmsg
6296
6413
  "G004", # Logging statement uses f-string
@@ -6312,6 +6429,9 @@
6312
6429
  [tool.ruff.lint.pydocstyle]
6313
6430
  convention = "google"
6314
6431
 
6432
+ [tool.ty.src]
6433
+ include = ["pkfire/", "tests/"]
6434
+
6315
6435
  [tool.ty.terminal]
6316
6436
  error-on-warning = true
6317
6437
  output-format = "concise"
@@ -6474,6 +6594,7 @@
6474
6594
  ignore = [
6475
6595
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
6476
6596
  "COM812", # Trailing comma missing
6597
+ "CPY001", # Missing copyright notice at top of file
6477
6598
  "D1", # Missing docstring presence rules
6478
6599
  "EM", # flake8-errmsg
6479
6600
  "G004", # Logging statement uses f-string
@@ -6495,6 +6616,9 @@
6495
6616
  [tool.ruff.lint.pydocstyle]
6496
6617
  convention = "google"
6497
6618
 
6619
+ [tool.ty.src]
6620
+ include = ["pkfire/", "tests/"]
6621
+
6498
6622
  [tool.ty.terminal]
6499
6623
  error-on-warning = true
6500
6624
  output-format = "concise"
@@ -6669,6 +6793,7 @@
6669
6793
  ignore = [
6670
6794
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
6671
6795
  "COM812", # Trailing comma missing
6796
+ "CPY001", # Missing copyright notice at top of file
6672
6797
  "D1", # Missing docstring presence rules
6673
6798
  "EM", # flake8-errmsg
6674
6799
  "G004", # Logging statement uses f-string
@@ -6690,6 +6815,9 @@
6690
6815
  [tool.ruff.lint.pydocstyle]
6691
6816
  convention = "google"
6692
6817
 
6818
+ [tool.ty.src]
6819
+ include = ["pkfire/", "tests/"]
6820
+
6693
6821
  [tool.ty.terminal]
6694
6822
  error-on-warning = true
6695
6823
  output-format = "concise"
@@ -6901,6 +7029,7 @@
6901
7029
  ignore = [
6902
7030
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
6903
7031
  "COM812", # Trailing comma missing
7032
+ "CPY001", # Missing copyright notice at top of file
6904
7033
  "D1", # Missing docstring presence rules
6905
7034
  "EM", # flake8-errmsg
6906
7035
  "G004", # Logging statement uses f-string
@@ -6922,6 +7051,9 @@
6922
7051
  [tool.ruff.lint.pydocstyle]
6923
7052
  convention = "google"
6924
7053
 
7054
+ [tool.ty.src]
7055
+ include = ["pkfire/", "tests/"]
7056
+
6925
7057
  [tool.ty.terminal]
6926
7058
  error-on-warning = true
6927
7059
  output-format = "concise"
@@ -7121,6 +7253,7 @@
7121
7253
  ignore = [
7122
7254
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
7123
7255
  "COM812", # Trailing comma missing
7256
+ "CPY001", # Missing copyright notice at top of file
7124
7257
  "D1", # Missing docstring presence rules
7125
7258
  "EM", # flake8-errmsg
7126
7259
  "G004", # Logging statement uses f-string
@@ -7142,6 +7275,9 @@
7142
7275
  [tool.ruff.lint.pydocstyle]
7143
7276
  convention = "google"
7144
7277
 
7278
+ [tool.ty.src]
7279
+ include = ["pkfire/", "tests/"]
7280
+
7145
7281
  [tool.ty.terminal]
7146
7282
  error-on-warning = true
7147
7283
  output-format = "concise"
@@ -7365,6 +7501,7 @@
7365
7501
  ignore = [
7366
7502
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
7367
7503
  "COM812", # Trailing comma missing
7504
+ "CPY001", # Missing copyright notice at top of file
7368
7505
  "D1", # Missing docstring presence rules
7369
7506
  "EM", # flake8-errmsg
7370
7507
  "G004", # Logging statement uses f-string
@@ -7386,6 +7523,9 @@
7386
7523
  [tool.ruff.lint.pydocstyle]
7387
7524
  convention = "google"
7388
7525
 
7526
+ [tool.ty.src]
7527
+ include = ["pkfire/", "tests/"]
7528
+
7389
7529
  [tool.ty.terminal]
7390
7530
  error-on-warning = true
7391
7531
  output-format = "concise"
@@ -7597,6 +7737,7 @@
7597
7737
  ignore = [
7598
7738
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
7599
7739
  "COM812", # Trailing comma missing
7740
+ "CPY001", # Missing copyright notice at top of file
7600
7741
  "D1", # Missing docstring presence rules
7601
7742
  "EM", # flake8-errmsg
7602
7743
  "G004", # Logging statement uses f-string
@@ -7618,6 +7759,9 @@
7618
7759
  [tool.ruff.lint.pydocstyle]
7619
7760
  convention = "google"
7620
7761
 
7762
+ [tool.ty.src]
7763
+ include = ["pkfire/", "tests/"]
7764
+
7621
7765
  [tool.ty.terminal]
7622
7766
  error-on-warning = true
7623
7767
  output-format = "concise"
@@ -7841,6 +7985,7 @@
7841
7985
  ignore = [
7842
7986
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
7843
7987
  "COM812", # Trailing comma missing
7988
+ "CPY001", # Missing copyright notice at top of file
7844
7989
  "D1", # Missing docstring presence rules
7845
7990
  "EM", # flake8-errmsg
7846
7991
  "G004", # Logging statement uses f-string
@@ -7862,6 +8007,9 @@
7862
8007
  [tool.ruff.lint.pydocstyle]
7863
8008
  convention = "google"
7864
8009
 
8010
+ [tool.ty.src]
8011
+ include = ["pkfire/", "tests/"]
8012
+
7865
8013
  [tool.ty.terminal]
7866
8014
  error-on-warning = true
7867
8015
  output-format = "concise"
@@ -8073,6 +8221,7 @@
8073
8221
  ignore = [
8074
8222
  "ANN401", # Dynamically typed expressions (typing.Any) are disallowed
8075
8223
  "COM812", # Trailing comma missing
8224
+ "CPY001", # Missing copyright notice at top of file
8076
8225
  "D1", # Missing docstring presence rules
8077
8226
  "EM", # flake8-errmsg
8078
8227
  "G004", # Logging statement uses f-string
@@ -8094,6 +8243,9 @@
8094
8243
  [tool.ruff.lint.pydocstyle]
8095
8244
  convention = "google"
8096
8245
 
8246
+ [tool.ty.src]
8247
+ include = ["pkfire/", "tests/"]
8248
+
8097
8249
  [tool.ty.terminal]
8098
8250
  error-on-warning = true
8099
8251
  output-format = "concise"
@@ -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