https://github.com/jonghwanhyeon/griffe-modernized-annotations
A Griffe extension that modernizes type annotations by adopting PEP 585 and PEP 604
https://github.com/jonghwanhyeon/griffe-modernized-annotations
annotations griffe griffe-extension
Last synced: about 1 year ago
JSON representation
A Griffe extension that modernizes type annotations by adopting PEP 585 and PEP 604
- Host: GitHub
- URL: https://github.com/jonghwanhyeon/griffe-modernized-annotations
- Owner: jonghwanhyeon
- License: mit
- Created: 2024-07-28T15:49:01.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-16T10:01:31.000Z (almost 2 years ago)
- Last Synced: 2025-04-10T12:43:01.026Z (about 1 year ago)
- Topics: annotations, griffe, griffe-extension
- Language: Python
- Homepage:
- Size: 153 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```console
$ pip install griffe-modernized-annotations
```
## Usage
```yaml
plugins:
- mkdocstrings:
handlers:
python:
options:
extensions:
- griffe_modernized_annotations
```