templatepy 0.8.2__tar.gz → 0.8.3__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 (36) hide show
  1. {templatepy-0.8.2 → templatepy-0.8.3}/PKG-INFO +1 -1
  2. templatepy-0.8.3/VERSION +1 -0
  3. {templatepy-0.8.2 → templatepy-0.8.3}/pyproject.toml +1 -1
  4. {templatepy-0.8.2 → templatepy-0.8.3}/template/.pre-commit-config.yaml +7 -6
  5. {templatepy-0.8.2 → templatepy-0.8.3}/template/CONTRIBUTING.md +16 -0
  6. templatepy-0.8.2/VERSION +0 -1
  7. {templatepy-0.8.2 → templatepy-0.8.3}/.gitignore +0 -0
  8. {templatepy-0.8.2 → templatepy-0.8.3}/CITATION.cff +0 -0
  9. {templatepy-0.8.2 → templatepy-0.8.3}/LICENSE +0 -0
  10. {templatepy-0.8.2 → templatepy-0.8.3}/README.md +0 -0
  11. {templatepy-0.8.2 → templatepy-0.8.3}/copier.yaml +0 -0
  12. {templatepy-0.8.2 → templatepy-0.8.3}/src/templatepy/__init__.py +0 -0
  13. {templatepy-0.8.2 → templatepy-0.8.3}/template/.githooks/fix_commit_msg.py +0 -0
  14. {templatepy-0.8.2 → templatepy-0.8.3}/template/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  15. {templatepy-0.8.2 → templatepy-0.8.3}/template/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  16. {templatepy-0.8.2 → templatepy-0.8.3}/template/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  17. {templatepy-0.8.2 → templatepy-0.8.3}/template/.github/workflows/ci.yml +0 -0
  18. {templatepy-0.8.2 → templatepy-0.8.3}/template/.github/workflows/docs.yml +0 -0
  19. {templatepy-0.8.2 → templatepy-0.8.3}/template/.github/workflows/pr-review.yml +0 -0
  20. {templatepy-0.8.2 → templatepy-0.8.3}/template/.github/workflows/release.yml +0 -0
  21. {templatepy-0.8.2 → templatepy-0.8.3}/template/.gitignore +0 -0
  22. {templatepy-0.8.2 → templatepy-0.8.3}/template/.gitleaks.toml +0 -0
  23. {templatepy-0.8.2 → templatepy-0.8.3}/template/.gitlint +0 -0
  24. {templatepy-0.8.2 → templatepy-0.8.3}/template/CITATION.cff +0 -0
  25. {templatepy-0.8.2 → templatepy-0.8.3}/template/CODE_OF_CONDUCT.md +0 -0
  26. {templatepy-0.8.2 → templatepy-0.8.3}/template/LICENSE +0 -0
  27. {templatepy-0.8.2 → templatepy-0.8.3}/template/README.md +0 -0
  28. {templatepy-0.8.2 → templatepy-0.8.3}/template/VERSION +0 -0
  29. {templatepy-0.8.2 → templatepy-0.8.3}/template/docs/index.md +0 -0
  30. {templatepy-0.8.2 → templatepy-0.8.3}/template/mkdocs.yml +0 -0
  31. {templatepy-0.8.2 → templatepy-0.8.3}/template/pyproject.toml +0 -0
  32. {templatepy-0.8.2 → templatepy-0.8.3}/template/src/[[ project_slug ]]/__init__.py +0 -0
  33. {templatepy-0.8.2 → templatepy-0.8.3}/template/src/[[ project_slug ]]/py.typed +0 -0
  34. {templatepy-0.8.2 → templatepy-0.8.3}/template/tests/conftest.py +0 -0
  35. {templatepy-0.8.2 → templatepy-0.8.3}/template/tests/integration/test_placeholder.py +0 -0
  36. {templatepy-0.8.2 → templatepy-0.8.3}/template/tests/unit/test_placeholder.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: templatepy
3
- Version: 0.8.2
3
+ Version: 0.8.3
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
@@ -0,0 +1 @@
1
+ 0.8.3
@@ -40,7 +40,7 @@ include = ["src", "copier.yaml", "template", "CITATION.cff", "README.md", "VERSI
40
40
 
41
41
  [tool.commitizen]
42
42
  version_provider = "commitizen"
43
- version = "0.8.2"
43
+ version = "0.8.3"
44
44
  version_files = ["VERSION"]
45
45
  tag_format = "v$version"
46
46
  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:
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
File without changes