Skip to main content

Tool to translate type comments to annotations.

Project description

Tool for translation of type comments to type annotations in Python.

This tool requires Python 3.8 to run. But the supported target code version is Python 3.4+ (can be specified with --python-minor-version).

Currently, the tool translates function and assignment type comments to type annotations.

The philosophy of of the tool is too minimally invasive, and preserve original formatting as much as possible. This is why the tool doesn’t use un-parse.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
com2ann-0.1.1-py3-none-any.whl (11.5 kB) Copy SHA256 hash SHA256 Wheel py3
com2ann-0.1.1.tar.gz (14.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page