Add strictness emphasis to project and stubs README, add PyPI badges

Highlight basedpyright `all` mode and zero typing.Any as key
differentiators in both the project README description and the
per-version stubs README template.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-03 11:43:19 +02:00
co-authored by Claude Opus 4.6
parent 199bad568a
commit 7fde7f53da
2 changed files with 16 additions and 13 deletions
+4 -2
View File
@@ -159,9 +159,11 @@ def build_generated_pyproject(
README_TEMPLATE = """\
# blender-python-stubs
Type stubs for Blender {blender_version} Python API.
[![PyPI](https://img.shields.io/pypi/v/blender-python-stubs?logo=pypi&logoColor=white)](https://pypi.org/project/blender-python-stubs/)
Provides autocomplete, type checking, and inline documentation for `bpy`, `mathutils`, `bmesh`, `gpu`, `freestyle`, and all other Blender Python modules.
Strict type stubs for Blender {blender_version} Python API.
Provides autocomplete, type checking, and inline documentation for `bpy`, `mathutils`, `bmesh`, `gpu`, `freestyle`, and all other Blender Python modules. Generated stubs pass [basedpyright](https://docs.basedpyright.com) `all` mode with 0 errors and use zero `typing.Any`.
## Installation