templatepy 0.8.2__tar.gz → 0.8.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 (37) hide show
  1. templatepy-0.8.4/.gitignore +2 -0
  2. {templatepy-0.8.2 → templatepy-0.8.4}/PKG-INFO +9 -1
  3. templatepy-0.8.4/VERSION +1 -0
  4. {templatepy-0.8.2 → templatepy-0.8.4}/pyproject.toml +12 -1
  5. {templatepy-0.8.2 → templatepy-0.8.4}/template/.pre-commit-config.yaml +7 -6
  6. {templatepy-0.8.2 → templatepy-0.8.4}/template/CONTRIBUTING.md +16 -0
  7. templatepy-0.8.2/.gitignore +0 -3
  8. templatepy-0.8.2/VERSION +0 -1
  9. {templatepy-0.8.2 → templatepy-0.8.4}/CITATION.cff +0 -0
  10. {templatepy-0.8.2 → templatepy-0.8.4}/LICENSE +0 -0
  11. {templatepy-0.8.2 → templatepy-0.8.4}/README.md +0 -0
  12. {templatepy-0.8.2 → templatepy-0.8.4}/copier.yaml +0 -0
  13. {templatepy-0.8.2 → templatepy-0.8.4}/src/templatepy/__init__.py +0 -0
  14. {templatepy-0.8.2 → templatepy-0.8.4}/template/.githooks/fix_commit_msg.py +0 -0
  15. {templatepy-0.8.2 → templatepy-0.8.4}/template/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  16. {templatepy-0.8.2 → templatepy-0.8.4}/template/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  17. {templatepy-0.8.2 → templatepy-0.8.4}/template/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  18. {templatepy-0.8.2 → templatepy-0.8.4}/template/.github/workflows/ci.yml +0 -0
  19. {templatepy-0.8.2 → templatepy-0.8.4}/template/.github/workflows/docs.yml +0 -0
  20. {templatepy-0.8.2 → templatepy-0.8.4}/template/.github/workflows/pr-review.yml +0 -0
  21. {templatepy-0.8.2 → templatepy-0.8.4}/template/.github/workflows/release.yml +0 -0
  22. {templatepy-0.8.2 → templatepy-0.8.4}/template/.gitignore +0 -0
  23. {templatepy-0.8.2 → templatepy-0.8.4}/template/.gitleaks.toml +0 -0
  24. {templatepy-0.8.2 → templatepy-0.8.4}/template/.gitlint +0 -0
  25. {templatepy-0.8.2 → templatepy-0.8.4}/template/CITATION.cff +0 -0
  26. {templatepy-0.8.2 → templatepy-0.8.4}/template/CODE_OF_CONDUCT.md +0 -0
  27. {templatepy-0.8.2 → templatepy-0.8.4}/template/LICENSE +0 -0
  28. {templatepy-0.8.2 → templatepy-0.8.4}/template/README.md +0 -0
  29. {templatepy-0.8.2 → templatepy-0.8.4}/template/VERSION +0 -0
  30. {templatepy-0.8.2 → templatepy-0.8.4}/template/docs/index.md +0 -0
  31. {templatepy-0.8.2 → templatepy-0.8.4}/template/mkdocs.yml +0 -0
  32. {templatepy-0.8.2 → templatepy-0.8.4}/template/pyproject.toml +0 -0
  33. {templatepy-0.8.2 → templatepy-0.8.4}/template/src/[[ project_slug ]]/__init__.py +0 -0
  34. {templatepy-0.8.2 → templatepy-0.8.4}/template/src/[[ project_slug ]]/py.typed +0 -0
  35. {templatepy-0.8.2 → templatepy-0.8.4}/template/tests/conftest.py +0 -0
  36. {templatepy-0.8.2 → templatepy-0.8.4}/template/tests/integration/test_placeholder.py +0 -0
  37. {templatepy-0.8.2 → templatepy-0.8.4}/template/tests/unit/test_placeholder.py +0 -0
@@ -0,0 +1,2 @@
1
+ # Generated by hatch-vcs
2
+ src/templatepy/_version.py
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: templatepy
3
- Version: 0.8.2
3
+ Version: 0.8.4
4
4
  Summary: Copier template for modern Python packages
5
5
  Project-URL: Homepage, https://github.com/larsrollik/templatepy
6
6
  Project-URL: Documentation, https://larsrollik.github.io/templatepy
@@ -13,6 +13,14 @@ Classifier: Intended Audience :: Developers
13
13
  Classifier: Programming Language :: Python :: 3
14
14
  Classifier: Topic :: Software Development :: Code Generators
15
15
  Requires-Python: >=3.12
16
+ Provides-Extra: dev
17
+ Requires-Dist: commitizen; extra == 'dev'
18
+ Requires-Dist: copier; extra == 'dev'
19
+ Requires-Dist: mypy; extra == 'dev'
20
+ Requires-Dist: pre-commit; extra == 'dev'
21
+ Requires-Dist: pytest-cov; extra == 'dev'
22
+ Requires-Dist: pytest>=8; extra == 'dev'
23
+ Requires-Dist: ruff; extra == 'dev'
16
24
  Description-Content-Type: text/markdown
17
25
 
18
26
  # templatepy
@@ -0,0 +1 @@
1
+ 0.8.4
@@ -24,6 +24,17 @@ Homepage = "https://github.com/larsrollik/templatepy"
24
24
  Documentation = "https://larsrollik.github.io/templatepy"
25
25
  Repository = "https://github.com/larsrollik/templatepy"
26
26
 
27
+ [project.optional-dependencies]
28
+ dev = [
29
+ "commitizen",
30
+ "pre-commit",
31
+ "mypy",
32
+ "ruff",
33
+ "pytest>=8",
34
+ "pytest-cov",
35
+ "copier",
36
+ ]
37
+
27
38
  [tool.hatch.version]
28
39
  source = "vcs"
29
40
  fallback-version = "0.3.0"
@@ -40,7 +51,7 @@ include = ["src", "copier.yaml", "template", "CITATION.cff", "README.md", "VERSI
40
51
 
41
52
  [tool.commitizen]
42
53
  version_provider = "commitizen"
43
- version = "0.8.2"
54
+ version = "0.8.4"
44
55
  version_files = ["VERSION"]
45
56
  tag_format = "v$version"
46
57
  update_changelog_on_bump = false
@@ -22,12 +22,7 @@ repos:
22
22
  - id: mypy
23
23
  additional_dependencies: []
24
24
 
25
- - repo: https://github.com/commitizen-tools/commitizen
26
- rev: v4.16.2
27
- hooks:
28
- - id: commitizen
29
- stages: [commit-msg]
30
-
25
+ # commit-msg stage: fix first, then validate
31
26
  - repo: local
32
27
  hooks:
33
28
  - id: fix-commit-msg
@@ -36,6 +31,12 @@ repos:
36
31
  entry: python3 .githooks/fix_commit_msg.py
37
32
  stages: [commit-msg]
38
33
 
34
+ - repo: https://github.com/commitizen-tools/commitizen
35
+ rev: v4.16.2
36
+ hooks:
37
+ - id: commitizen
38
+ stages: [commit-msg]
39
+
39
40
  - repo: https://github.com/jorisroovers/gitlint
40
41
  rev: v0.19.1
41
42
  hooks:
@@ -27,6 +27,22 @@ chore: update dependencies
27
27
 
28
28
  Breaking changes: add `!` after the type or a `BREAKING CHANGE:` footer.
29
29
 
30
+ Multi-line messages with indented body text must use a heredoc to prevent
31
+ the shell from stripping leading whitespace:
32
+
33
+ ```bash
34
+ git commit -m "$(cat <<'EOF'
35
+ feat: add new feature
36
+
37
+ - first change
38
+ - second change
39
+ EOF
40
+ )"
41
+ ```
42
+
43
+ Passing the message directly with `-m "..."` and newlines works for single-line
44
+ subjects but can strip indentation in the body on some shells.
45
+
30
46
  ## Commit message hooks
31
47
 
32
48
  The `commit-msg` hooks run automatically on every commit:
@@ -1,3 +0,0 @@
1
- # Lock file for the template repo's own dev environment (not shipped to
2
- # generated projects, which gitignore it via template/.gitignore).
3
- uv.lock
templatepy-0.8.2/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.8.2
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes