From b18c65eca6773d724bc3c6da3c841d4e9be1093e Mon Sep 17 00:00:00 2001 From: Sassan Haradji Date: Thu, 24 Oct 2024 16:21:51 +0400 Subject: [PATCH] chore(pytest): add `project.entry-points.pytest11` section to `pyproject.toml` so that it can be used as a pytest plugin --- CHANGELOG.md | 4 ++++ pyproject.toml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1791d3c..9c1b701 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## Upcoming + +- chore(pytest): add `project.entry-points.pytest11` section to `pyproject.toml` so that it can be used as a pytest plugin + ## Version 0.18.1 - chore: migrate from poetry to uv for the sake of improving performance and dealing with conflicting sub-dependencies diff --git a/pyproject.toml b/pyproject.toml index 8435046..3ce9a8f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -91,3 +91,6 @@ exclude_also = ["if TYPE_CHECKING:"] [tool.coverage.run] source = ['redux', 'redux_pytest'] omit = ['redux_pytest/plugin.py', 'redux/_version.py', "setup_scm_schemes.py"] + +[project.entry-points.pytest11] +redux = "redux_pytest.plugin"