templatepy 0.3.2__tar.gz → 0.4.1__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.1}/CITATION.cff +4 -6
  2. {templatepy-0.3.2 → templatepy-0.4.1}/PKG-INFO +3 -1
  3. {templatepy-0.3.2 → templatepy-0.4.1}/README.md +2 -0
  4. templatepy-0.4.1/VERSION +1 -0
  5. {templatepy-0.3.2 → templatepy-0.4.1}/copier.yaml +1 -1
  6. {templatepy-0.3.2 → templatepy-0.4.1}/pyproject.toml +1 -1
  7. {templatepy-0.3.2 → templatepy-0.4.1}/template/.github/workflows/bump.yml +6 -4
  8. templatepy-0.4.1/template/VERSION +1 -0
  9. {templatepy-0.3.2 → templatepy-0.4.1}/template/mkdocs.yml +6 -0
  10. {templatepy-0.3.2 → templatepy-0.4.1}/template/pyproject.toml +4 -2
  11. templatepy-0.3.2/VERSION +0 -1
  12. {templatepy-0.3.2 → templatepy-0.4.1}/src/templatepy/__init__.py +0 -0
  13. {templatepy-0.3.2 → templatepy-0.4.1}/template/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  14. {templatepy-0.3.2 → templatepy-0.4.1}/template/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  15. {templatepy-0.3.2 → templatepy-0.4.1}/template/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  16. {templatepy-0.3.2 → templatepy-0.4.1}/template/.github/workflows/ci.yml +0 -0
  17. {templatepy-0.3.2 → templatepy-0.4.1}/template/.github/workflows/docs.yml +0 -0
  18. {templatepy-0.3.2 → templatepy-0.4.1}/template/.github/workflows/pr-review.yml +0 -0
  19. {templatepy-0.3.2 → templatepy-0.4.1}/template/.github/workflows/release.yml +0 -0
  20. {templatepy-0.3.2 → templatepy-0.4.1}/template/.gitignore +0 -0
  21. {templatepy-0.3.2 → templatepy-0.4.1}/template/.gitleaks.toml +0 -0
  22. {templatepy-0.3.2 → templatepy-0.4.1}/template/.pre-commit-config.yaml +0 -0
  23. {templatepy-0.3.2 → templatepy-0.4.1}/template/CITATION.cff +0 -0
  24. {templatepy-0.3.2 → templatepy-0.4.1}/template/CODE_OF_CONDUCT.md +0 -0
  25. {templatepy-0.3.2 → templatepy-0.4.1}/template/CONTRIBUTING.md +0 -0
  26. {templatepy-0.3.2 → templatepy-0.4.1}/template/LICENSE +0 -0
  27. {templatepy-0.3.2 → templatepy-0.4.1}/template/README.md +0 -0
  28. {templatepy-0.3.2 → templatepy-0.4.1}/template/docs/index.md +0 -0
  29. {templatepy-0.3.2 → templatepy-0.4.1}/template/src/[[ project_slug ]]/__init__.py +0 -0
  30. {templatepy-0.3.2 → templatepy-0.4.1}/template/src/[[ project_slug ]]/py.typed +0 -0
  31. {templatepy-0.3.2 → templatepy-0.4.1}/template/tests/conftest.py +0 -0
  32. {templatepy-0.3.2 → templatepy-0.4.1}/template/tests/integration/test_placeholder.py +0 -0
  33. {templatepy-0.3.2 → templatepy-0.4.1}/template/tests/unit/test_placeholder.py +0 -0
@@ -9,9 +9,7 @@ authors:
9
9
  - family-names: Rollik
10
10
  given-names: Lars B.
11
11
  orcid: https://orcid.org/0000-0003-0160-6971
12
-
13
- # After first Zenodo release, add:
14
- # identifiers:
15
- # - type: doi
16
- # value: 10.5281/zenodo.XXXXXXX
17
- # description: Zenodo concept DOI
12
+ identifiers:
13
+ - type: doi
14
+ value: 10.5281/zenodo.4784218
15
+ description: Zenodo concept DOI (resolves to latest version)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: templatepy
3
- Version: 0.3.2
3
+ Version: 0.4.1
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
@@ -16,6 +16,8 @@ Description-Content-Type: text/markdown
16
16
 
17
17
  # templatepy
18
18
 
19
+ [![DOI](https://zenodo.org/badge/370470893.svg)](https://doi.org/10.5281/zenodo.4784218)
20
+
19
21
  Copier template for modern Python packages.
20
22
 
21
23
  **[→ Full documentation](https://larsrollik.github.io/templatepy)**
@@ -1,5 +1,7 @@
1
1
  # templatepy
2
2
 
3
+ [![DOI](https://zenodo.org/badge/370470893.svg)](https://doi.org/10.5281/zenodo.4784218)
4
+
3
5
  Copier template for modern Python packages.
4
6
 
5
7
  **[→ Full documentation](https://larsrollik.github.io/templatepy)**
@@ -0,0 +1 @@
1
+ 0.4.1
@@ -59,6 +59,6 @@ python_requires:
59
59
  - "3.13"
60
60
 
61
61
  year:
62
- type: int
62
+ type: str
63
63
  help: "Copyright year"
64
64
  default: "{{ '%Y' | strftime }}"
@@ -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.1"
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