A Griffe extension that modernizes type annotations by adopting PEP 585 and PEP 604
Project description
griffe-modernized-annotations
A Griffe extension that modernizes type annotations by adopting PEP 585 and PEP 604
Example
Without extension:
With extension:
Install
To install griffe-modernized-annotations, simply use pip:
$ pip install griffe-modernized-annotations
Usage
plugins:
- mkdocstrings:
handlers:
python:
options:
extensions:
- griffe_modernized_annotations
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file griffe_modernized_annotations-1.0.8.tar.gz
.
File metadata
- Download URL: griffe_modernized_annotations-1.0.8.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4cd757260d2ebdb96d361c8ab882015955225bc3edc4713073b5a81ddad75b0 |
|
MD5 | 0d0cef9d4372f8e1983f10c6f4b1b981 |
|
BLAKE2b-256 | 348970efdbdbf5ca13cf6919368b542de78b8d0f5cca77f04f533d9f89cd9639 |
File details
Details for the file griffe_modernized_annotations-1.0.8-py3-none-any.whl
.
File metadata
- Download URL: griffe_modernized_annotations-1.0.8-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d84b2d03d9c3127c2548f1eaa04dc3eba6cde34c0a2c4ae64f627908984e973d |
|
MD5 | 3565b481f9475911fc571b244d2d9b28 |
|
BLAKE2b-256 | b654f2defd39a3e258abda26e6c0ec0611611c5757e97d73defd64a4e917f5e9 |