From f8b228852c361e91724b827f7bdcffcae88c46c8 Mon Sep 17 00:00:00 2001 From: Artur Shiriev Date: Sat, 13 Jun 2026 17:59:00 +0300 Subject: [PATCH 1/2] docs: standardize README header and footer Aligns with the modern-python uniform-README standard. Co-Authored-By: Claude Opus 4.8 (1M context) --- README.md | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 994721d..35d6c76 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,16 @@ -"Modern-DI-Pytest" -== -[![Supported versions](https://img.shields.io/pypi/pyversions/modern-di-pytest.svg)](https://pypi.python.org/pypi/modern-di-pytest) -[![downloads](https://img.shields.io/pypi/dm/modern-di-pytest.svg)](https://pypistats.org/packages/modern-di-pytest) +# modern-di-pytest + +[![PyPI version](https://img.shields.io/pypi/v/modern-di-pytest.svg)](https://pypi.org/project/modern-di-pytest/) +[![Supported Python versions](https://img.shields.io/pypi/pyversions/modern-di-pytest.svg)](https://pypi.org/project/modern-di-pytest/) +[![Downloads](https://img.shields.io/pypi/dm/modern-di-pytest.svg)](https://pypistats.org/packages/modern-di-pytest) +[![Coverage](https://img.shields.io/badge/coverage-100%25-brightgreen.svg)](https://github.com/modern-python/modern-di-pytest/actions/workflows/ci.yml) +[![CI](https://github.com/modern-python/modern-di-pytest/actions/workflows/ci.yml/badge.svg)](https://github.com/modern-python/modern-di-pytest/actions/workflows/ci.yml) +[![License](https://img.shields.io/github/license/modern-python/modern-di-pytest.svg)](https://github.com/modern-python/modern-di-pytest/blob/main/LICENSE) [![GitHub stars](https://img.shields.io/github/stars/modern-python/modern-di-pytest)](https://github.com/modern-python/modern-di-pytest/stargazers) +[![Context7](https://img.shields.io/badge/Context7-docs-blue)](https://context7.com/modern-python/modern-di-pytest) +[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv) +[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) +[![ty](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ty/main/assets/badge/v0.json)](https://github.com/astral-sh/ty) Pytest integration for [Modern-DI](https://github.com/modern-python/modern-di). @@ -125,10 +133,11 @@ class-attribute names. Non-Provider class attributes are skipped. A duplicate attribute name across groups raises ``ValueError``. Pass ``module=`` explicitly when stack introspection cannot identify the caller. +## 📦 [PyPI](https://pypi.org/project/modern-di-pytest) + +## 📝 [License](LICENSE) + ## Part of `modern-python` Browse the full list of templates and libraries in -[`modern-python`](https://github.com/modern-python) — see the org profile for the -categorized index. - -## 📚 [Documentation](https://modern-di.modern-python.org) +[`modern-python`](https://github.com/modern-python) — see the org profile for the categorized index. From 554f05ac6e6399c072f13b32ba16d24e135a6781 Mon Sep 17 00:00:00 2001 From: Artur Shiriev Date: Sat, 13 Jun 2026 18:32:16 +0300 Subject: [PATCH 2/2] docs: drop Context7 badge (docs live in the modern-di repo) Co-Authored-By: Claude Opus 4.8 (1M context) --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 35d6c76..824ed08 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,6 @@ [![CI](https://github.com/modern-python/modern-di-pytest/actions/workflows/ci.yml/badge.svg)](https://github.com/modern-python/modern-di-pytest/actions/workflows/ci.yml) [![License](https://img.shields.io/github/license/modern-python/modern-di-pytest.svg)](https://github.com/modern-python/modern-di-pytest/blob/main/LICENSE) [![GitHub stars](https://img.shields.io/github/stars/modern-python/modern-di-pytest)](https://github.com/modern-python/modern-di-pytest/stargazers) -[![Context7](https://img.shields.io/badge/Context7-docs-blue)](https://context7.com/modern-python/modern-di-pytest) [![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv) [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![ty](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ty/main/assets/badge/v0.json)](https://github.com/astral-sh/ty)