From 6b7db5aaaa1d3274f00d3053efba80f87737541c Mon Sep 17 00:00:00 2001 From: Ben Trachtenberg Date: Wed, 8 Jul 2026 11:24:41 -0500 Subject: [PATCH] added pytest-asyncio --- cookiecutter.json | 2 +- pyproject.toml | 2 +- uv.lock | 2 +- {{cookiecutter.git_repo_name}}/pyproject.toml | 2 ++ {{cookiecutter.git_repo_name}}/requirements-dev.txt | 1 + 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/cookiecutter.json b/cookiecutter.json index b32ce47..40bff08 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -47,7 +47,7 @@ "https" ], "__template_repo": "https://github.com/btr1975/cookiecutter-python-library", - "__template_version": "2.0.7", + "__template_version": "2.0.8", "_new_lines": "\n", "_copy_without_render": [ ".github" diff --git a/pyproject.toml b/pyproject.toml index 2adacb9..0c20df5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta" [project] name = "cookiecutter-python-library" -version = "2.0.7" +version = "2.0.8" dynamic = ["readme"] requires-python = ">=3.10" description = "A cookiecutter for a python library" diff --git a/uv.lock b/uv.lock index 0adeb08..cb9197a 100644 --- a/uv.lock +++ b/uv.lock @@ -279,7 +279,7 @@ wheels = [ [[package]] name = "cookiecutter-python-library" -version = "2.0.7" +version = "2.0.8" source = { editable = "." } dependencies = [ { name = "cookiecutter" }, diff --git a/{{cookiecutter.git_repo_name}}/pyproject.toml b/{{cookiecutter.git_repo_name}}/pyproject.toml index be93424..9f7d08a 100644 --- a/{{cookiecutter.git_repo_name}}/pyproject.toml +++ b/{{cookiecutter.git_repo_name}}/pyproject.toml @@ -70,6 +70,7 @@ dev = [ "pytest-cov", "sphinx", "pylint", + "pytest-asyncio", "myst-parser", "sphinx_rtd_theme", "sphinxcontrib-mermaid", @@ -109,6 +110,7 @@ dependencies = {file = "requirements.txt"} [tool.pytest.ini_options] addopts = "--strict-markers" +asyncio_mode = "auto" markers = [ "place_holder: marks tests as place_holder (deselect with -m 'not place_holder')", ] diff --git a/{{cookiecutter.git_repo_name}}/requirements-dev.txt b/{{cookiecutter.git_repo_name}}/requirements-dev.txt index 82ba4b0..29d4193 100644 --- a/{{cookiecutter.git_repo_name}}/requirements-dev.txt +++ b/{{cookiecutter.git_repo_name}}/requirements-dev.txt @@ -9,6 +9,7 @@ tomli; python_version < '3.11' pytest-cov sphinx pylint +pytest-asyncio myst-parser sphinx_rtd_theme sphinxcontrib-mermaid