Skip to main content

A Griffe extension that modernizes type annotations by adopting PEP 585 and PEP 604

Project description

griffe-modernized-annotations

Build status

A Griffe extension that modernizes type annotations by adopting PEP 585 and PEP 604

Example

Without extension: Without Extension

With 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

griffe_modernized_annotations-1.0.8.tar.gz (8.4 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page