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.
- {templatepy-0.8.2 → templatepy-0.8.3}/PKG-INFO +1 -1
- templatepy-0.8.3/VERSION +1 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/pyproject.toml +1 -1
- {templatepy-0.8.2 → templatepy-0.8.3}/template/.pre-commit-config.yaml +7 -6
- {templatepy-0.8.2 → templatepy-0.8.3}/template/CONTRIBUTING.md +16 -0
- templatepy-0.8.2/VERSION +0 -1
- {templatepy-0.8.2 → templatepy-0.8.3}/.gitignore +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/CITATION.cff +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/LICENSE +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/README.md +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/copier.yaml +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/src/templatepy/__init__.py +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/.githooks/fix_commit_msg.py +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/.github/workflows/ci.yml +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/.github/workflows/docs.yml +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/.github/workflows/pr-review.yml +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/.github/workflows/release.yml +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/.gitignore +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/.gitleaks.toml +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/.gitlint +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/CITATION.cff +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/CODE_OF_CONDUCT.md +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/LICENSE +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/README.md +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/VERSION +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/docs/index.md +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/mkdocs.yml +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/pyproject.toml +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/src/[[ project_slug ]]/__init__.py +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/src/[[ project_slug ]]/py.typed +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/tests/conftest.py +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/tests/integration/test_placeholder.py +0 -0
- {templatepy-0.8.2 → templatepy-0.8.3}/template/tests/unit/test_placeholder.py +0 -0
templatepy-0.8.3/VERSION
ADDED
|
@@ -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.
|
|
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
|
-
-
|
|
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
|
|
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
|