A tool for auto-adding simple type annotations to Python code. Current version 24.9.0, released September 2024. Follows a semi-annual release cadence.
pip install autotypingVerified import paths — ran on the pinned version, not inferred.
Invoke autotyping via CLI or subprocess. The tool adds type annotations to functions and methods based on common patterns.
Update Python to 3.8 or later and upgrade autotyping to 24.3.0+.
Remove arguments after --safe or --aggressive. Use --safe on its own.
Update to 22.9.0+ to avoid adding None to abstract methods.