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.

Files for com2ann, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size com2ann-0.1.1-py3-none-any.whl (11.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size com2ann-0.1.1.tar.gz (14.8 kB) File type Source Python version None Upload date Hashes View hashes

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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page