From 308011c9b466bf80335aa0f87c99061197ffa459 Mon Sep 17 00:00:00 2001 From: Oleh Prypin Date: Sun, 26 Nov 2023 19:36:40 +0100 Subject: [PATCH] Integrate with Copier --- .tools/copier-answers.yml | 13 +++++++++++++ .tools/release.sh | 2 +- README.md | 2 +- pyproject.toml | 1 + 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 .tools/copier-answers.yml diff --git a/.tools/copier-answers.yml b/.tools/copier-answers.yml new file mode 100644 index 0000000..86cc7d5 --- /dev/null +++ b/.tools/copier-answers.yml @@ -0,0 +1,13 @@ +_commit: 8013794b5 +_src_path: gh:oprypin/py-project-template +copyright_date: '2021' +mkdocs: true +mkdocs_install_self: true +project_description: 'Markdown extension: a classier syntax for admonitions' +project_name: markdown-callouts +pytest: true +python_distribution_name: markdown-callouts +python_source_path: markdown_callouts +repository_name: oprypin/markdown-callouts +script_test: false + diff --git a/.tools/release.sh b/.tools/release.sh index 1bf36b6..a8a14e4 100755 --- a/.tools/release.sh +++ b/.tools/release.sh @@ -8,7 +8,7 @@ git diff --quiet HEAD pyproject.toml rm -rf dist hatch version "$1" hatch build -git add */__init__.py +git add markdown_callouts/__init__.py git commit -m "v$1" git tag -a -m "" "v$1" git push origin master --tags diff --git a/README.md b/README.md index aecaf5d..dcb3f7b 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ **Extension for [Python-Markdown][]: a classier syntax for [admonitions](https://squidfunk.github.io/mkdocs-material/reference/admonitions/#usage)** [![PyPI](https://img.shields.io/pypi/v/markdown-callouts)](https://pypi.org/project/markdown-callouts/) -[![GitHub](https://img.shields.io/github/license/oprypin/markdown-callouts)](https://github.com/oprypin/markdown-callouts/blob/master/LICENSE.md) +[![License](https://img.shields.io/github/license/oprypin/markdown-callouts)](https://github.com/oprypin/markdown-callouts/blob/master/LICENSE.md) [![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/oprypin/markdown-callouts/ci.yml.svg)](https://github.com/oprypin/markdown-callouts/actions?query=event%3Apush+branch%3Amaster) [python-markdown]: https://python-markdown.github.io/ diff --git a/pyproject.toml b/pyproject.toml index aadcb7a..5ff6bc6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -102,6 +102,7 @@ format = [ [tool.hatch.envs.docs] type = "pip-compile" pip-compile-hashes = false +detached = false [tool.ruff] line-length = 100