Skip to content

Releases: kairos-xx/typecoverage

v1.0.1 - Initial Release: Typecoverage

18 Aug 05:33
839438f
Compare
Choose a tag to compare

🔍 Typecoverage v1.0.1 - First Release
A strict CLI + library API to report untyped variables, arguments, and function returns in Python code

We're excited to announce the first release of Typecoverage - a comprehensive Python static analysis tool focused on type annotation coverage rather than type correctness.

✨ What's Included

Comprehensive Detection - Finds missing annotations in functions, methods, variables, and returns
Multiple Input Types - Analyze files, directories, code strings, and live Python objects
Rich Output Formats - Human-readable text with colors or machine-readable JSON
Smart Filtering - Configurable rules with sensible defaults for different coding patterns
Comment Suppression - Standard # type: ignore and # noqa support
CI/CD Ready - Exit codes and JSON output for continuous integration

🚀 Quick Start

Install from source

pip install -e .

Analyze a file

typecoverage myfile.py

Get detailed output with context

typecoverage --context-lines 2 --statistics src/

JSON output for CI/CD

typecoverage --format json --exit-nonzero-on-issues src/

🎯 Perfect For

  • Ensuring comprehensive type annotation coverage
  • Pre-commit hooks and CI/CD pipelines
  • Legacy code modernization
  • Code quality enforcement

Unlike mypy or pyright which focus on type correctness, Typecoverage ensures your code has complete type hints for maintainability and clarity.

Ready to improve your Python type annotation coverage? Get started today!