templatepy 0.3.2__tar.gz → 0.4.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 (33) hide show
  1. {templatepy-0.3.2 → templatepy-0.4.0}/PKG-INFO +1 -1
  2. templatepy-0.4.0/VERSION +1 -0
  3. {templatepy-0.3.2 → templatepy-0.4.0}/pyproject.toml +1 -1
  4. {templatepy-0.3.2 → templatepy-0.4.0}/template/.github/workflows/bump.yml +6 -4
  5. templatepy-0.4.0/template/VERSION +1 -0
  6. {templatepy-0.3.2 → templatepy-0.4.0}/template/mkdocs.yml +6 -0
  7. {templatepy-0.3.2 → templatepy-0.4.0}/template/pyproject.toml +4 -2
  8. templatepy-0.3.2/VERSION +0 -1
  9. {templatepy-0.3.2 → templatepy-0.4.0}/CITATION.cff +0 -0
  10. {templatepy-0.3.2 → templatepy-0.4.0}/README.md +0 -0
  11. {templatepy-0.3.2 → templatepy-0.4.0}/copier.yaml +0 -0
  12. {templatepy-0.3.2 → templatepy-0.4.0}/src/templatepy/__init__.py +0 -0
  13. {templatepy-0.3.2 → templatepy-0.4.0}/template/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  14. {templatepy-0.3.2 → templatepy-0.4.0}/template/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  15. {templatepy-0.3.2 → templatepy-0.4.0}/template/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  16. {templatepy-0.3.2 → templatepy-0.4.0}/template/.github/workflows/ci.yml +0 -0
  17. {templatepy-0.3.2 → templatepy-0.4.0}/template/.github/workflows/docs.yml +0 -0
  18. {templatepy-0.3.2 → templatepy-0.4.0}/template/.github/workflows/pr-review.yml +0 -0
  19. {templatepy-0.3.2 → templatepy-0.4.0}/template/.github/workflows/release.yml +0 -0
  20. {templatepy-0.3.2 → templatepy-0.4.0}/template/.gitignore +0 -0
  21. {templatepy-0.3.2 → templatepy-0.4.0}/template/.gitleaks.toml +0 -0
  22. {templatepy-0.3.2 → templatepy-0.4.0}/template/.pre-commit-config.yaml +0 -0
  23. {templatepy-0.3.2 → templatepy-0.4.0}/template/CITATION.cff +0 -0
  24. {templatepy-0.3.2 → templatepy-0.4.0}/template/CODE_OF_CONDUCT.md +0 -0
  25. {templatepy-0.3.2 → templatepy-0.4.0}/template/CONTRIBUTING.md +0 -0
  26. {templatepy-0.3.2 → templatepy-0.4.0}/template/LICENSE +0 -0
  27. {templatepy-0.3.2 → templatepy-0.4.0}/template/README.md +0 -0
  28. {templatepy-0.3.2 → templatepy-0.4.0}/template/docs/index.md +0 -0
  29. {templatepy-0.3.2 → templatepy-0.4.0}/template/src/[[ project_slug ]]/__init__.py +0 -0
  30. {templatepy-0.3.2 → templatepy-0.4.0}/template/src/[[ project_slug ]]/py.typed +0 -0
  31. {templatepy-0.3.2 → templatepy-0.4.0}/template/tests/conftest.py +0 -0
  32. {templatepy-0.3.2 → templatepy-0.4.0}/template/tests/integration/test_placeholder.py +0 -0
  33. {templatepy-0.3.2 → templatepy-0.4.0}/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.3.2
3
+ Version: 0.4.0
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.4.0
@@ -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.3.2"
43
+ version = "0.4.0"
44
44
  version_files = ["VERSION"]
45
45
  tag_format = "v$version"
46
46
  update_changelog_on_bump = false
@@ -27,7 +27,7 @@ jobs:
27
27
  - uses: actions/checkout@v4
28
28
  with:
29
29
  fetch-depth: 0
30
- token: ${{ secrets.GITHUB_TOKEN }}
30
+ token: ${{ secrets.RELEASE_TOKEN }}
31
31
 
32
32
  - name: Configure git identity
33
33
  run: |
@@ -38,10 +38,12 @@ jobs:
38
38
 
39
39
  - name: Bump version
40
40
  run: |
41
- uvx commitizen bump --yes || EXIT=$?
41
+ uvx --from commitizen cz bump --yes || EXIT=$?
42
42
  if [ "${EXIT:-0}" -eq 21 ]; then
43
- echo "No bumpable commits since last tag — skipping release."
43
+ echo "No bumpable commits since last tag — skipping."
44
44
  exit 0
45
45
  fi
46
46
  [ "${EXIT:-0}" -eq 0 ] || exit $EXIT
47
- git push --follow-tags
47
+ VERSION=$(cat VERSION)
48
+ git push origin HEAD:main
49
+ git push origin "v${VERSION}"
@@ -0,0 +1 @@
1
+ 1.0.0
@@ -6,6 +6,10 @@ edit_uri: edit/main/docs/
6
6
 
7
7
  theme:
8
8
  name: material
9
+ palette:
10
+ scheme: slate
11
+ primary: teal
12
+ accent: teal
9
13
  features:
10
14
  - navigation.sections
11
15
  - navigation.top
@@ -16,6 +20,8 @@ markdown_extensions:
16
20
  - pymdownx.highlight:
17
21
  anchor_linenums: true
18
22
  - pymdownx.superfences
23
+ - pymdownx.tabbed:
24
+ alternate_style: true
19
25
  - toc:
20
26
  permalink: true
21
27
 
@@ -33,7 +33,7 @@ version-file = "src/[[ project_slug ]]/_version.py"
33
33
  packages = ["src/[[ project_slug ]]"]
34
34
 
35
35
  [tool.hatch.build.targets.sdist]
36
- include = ["/src", "/tests", "/README.md", "/LICENSE", "/pyproject.toml"]
36
+ include = ["/src", "/tests", "/README.md", "/LICENSE", "/pyproject.toml", "/VERSION"]
37
37
 
38
38
  # ---------------------------------------------------------------------------
39
39
  # Dependencies
@@ -55,7 +55,9 @@ dev = [
55
55
 
56
56
  [tool.commitizen]
57
57
  name = "cz_conventional_commits"
58
- version_provider = "scm"
58
+ version_provider = "commitizen"
59
+ version = "1.0.0"
60
+ version_files = ["VERSION"]
59
61
  tag_format = "v$version"
60
62
  update_changelog_on_bump = false
61
63
 
templatepy-0.3.2/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.3.2
File without changes
File without changes
File without changes
File without changes