griffe-inherited-docstrings 1.0.1

Last updated:

0 purchases

griffe-inherited-docstrings 1.0.1 Image
griffe-inherited-docstrings 1.0.1 Images
Add to Cart

Description:

griffeinheriteddocstrings 1.0.1

Griffe Inherited Docstrings





Griffe extension for inheriting docstrings.
Installation
With pip:
pip install griffe-inherited-docstrings

With pipx:
python3.8 -m pip install --user pipx
pipx install griffe-inherited-docstrings

Usage
With Python:
import griffe

griffe.load("...", extensions=griffe.load_extensions(["griffe_inherited_docstrings"]))

With MkDocs and mkdocstrings:
plugins:
- mkdocstrings:
handlers:
python:
options:
extensions:
- griffe_inherited_docstrings

The extension will iterate on every class and their members
to set docstrings from parent classes when they are not already defined.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.