-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #220 from lsst/tickets/DM-40567
DM-40567: Add scriv to FastAPI and PyPI templates
- Loading branch information
Showing
20 changed files
with
196 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Change log | ||
|
||
example is versioned with [semver](https://semver.org/). | ||
Dependencies are updated to the latest available version during each release, and aren't noted here. | ||
|
||
Find changes for the upcoming release in the project's [changelog.d directory](https://github.com/lsst-sqre/example/tree/main/changelog.d/). | ||
|
||
<!-- scriv-insert-here --> |
7 changes: 7 additions & 0 deletions
7
project_templates/fastapi_safir_app/example/changelog.d/_template.md.jinja
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<!-- Delete the sections that don't apply --> | ||
{%- for cat in config.categories %} | ||
|
||
### {{ cat }} | ||
|
||
- | ||
{%- endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
project_templates/fastapi_safir_app/{{cookiecutter.name}}/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Change log | ||
|
||
{{cookiecutter.name}} is versioned with [semver](https://semver.org/). | ||
Dependencies are updated to the latest available version during each release, and aren't noted here. | ||
|
||
Find changes for the upcoming release in the project's [changelog.d directory](https://github.com/{{cookiecutter.github_org}}/{{cookiecutter.name}}/tree/main/changelog.d/). | ||
|
||
<!-- scriv-insert-here --> |
7 changes: 7 additions & 0 deletions
7
project_templates/fastapi_safir_app/{{cookiecutter.name}}/changelog.d/_template.md.jinja
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<!-- Delete the sections that don't apply --> | ||
{{ "{%- for cat in config.categories %}" }} | ||
|
||
### {{ "{{ cat }}" }} | ||
|
||
- | ||
{{ "{%- endfor %}" }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Change log | ||
|
||
<!-- Format for headings: 1.2.3 (YYYY-MM-DD) --> | ||
example is versioned with [semver](https://semver.org/). | ||
|
||
## Unreleased | ||
Find changes for the upcoming release in the project's [changelog.d directory](https://github.com/lsst-sqre/example/tree/main/changelog.d/). | ||
|
||
- First release of example | ||
<!-- scriv-insert-here --> |
7 changes: 7 additions & 0 deletions
7
project_templates/square_pypi_package/example/changelog.d/_template.md.jinja
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<!-- Delete the sections that don't apply --> | ||
{%- for cat in config.categories %} | ||
|
||
### {{ cat }} | ||
|
||
- | ||
{%- endfor %} |
5 changes: 3 additions & 2 deletions
5
project_templates/square_pypi_package/example/docs/_rst_epilog.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
|
||
.. _Click: https://click.palletsprojects.com/ | ||
.. _mypy: http://www.mypy-lang.org | ||
.. _pre-commit: https://pre-commit.com | ||
.. _pytest: https://docs.pytest.org/en/latest/ | ||
.. _scriv: https://scriv.readthedocs.io/en/stable/ | ||
.. _semver: https://semver.org/ | ||
.. _tox: https://tox.wiki/en/latest/ | ||
.. _Click: https://click.palletsprojects.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
project_templates/square_pypi_package/{{cookiecutter.name}}/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Change log | ||
|
||
<!-- Format for headings: 1.2.3 (YYYY-MM-DD) --> | ||
{{cookiecutter.name}} is versioned with [semver](https://semver.org/). | ||
|
||
## Unreleased | ||
Find changes for the upcoming release in the project's [changelog.d directory](https://github.com/{{cookiecutter.github_org}}/{{cookiecutter.name}}/tree/main/changelog.d/). | ||
|
||
- First release of {{cookiecutter.name}} | ||
<!-- scriv-insert-here --> |
7 changes: 7 additions & 0 deletions
7
project_templates/square_pypi_package/{{cookiecutter.name}}/changelog.d/_template.md.jinja
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<!-- Delete the sections that don't apply --> | ||
{{ "{%- for cat in config.categories %}" }} | ||
|
||
### {{ "{{ cat }}" }} | ||
|
||
- | ||
{{ "{%- endfor %}" }} |
5 changes: 3 additions & 2 deletions
5
project_templates/square_pypi_package/{{cookiecutter.name}}/docs/_rst_epilog.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
|
||
.. _Click: https://click.palletsprojects.com/ | ||
.. _mypy: http://www.mypy-lang.org | ||
.. _pre-commit: https://pre-commit.com | ||
.. _pytest: https://docs.pytest.org/en/latest/ | ||
.. _scriv: https://scriv.readthedocs.io/en/stable/ | ||
.. _semver: https://semver.org/ | ||
.. _tox: https://tox.wiki/en/latest/ | ||
.. _Click: https://click.palletsprojects.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters