Releases: hesreallyhim/antipasta
v1.1.0
Major refactoring to ensure antipasta meets its own complexity constraints.
Highlights:
• Modularized large files (900+ lines → <310 lines)
• All source code now passes antipasta's complexity checks
• Added CLI threshold overrides with 3-letter prefix support
• Applied Compose Method pattern throughout codebase
• Improved maintainability indices across all modules
See CHANGELOG.md for full details.
v1.0.0 - Production Ready
🎉 Antipasta v1.0.0 - Production Ready!
This major release marks antipasta as production-ready, providing a comprehensive code quality enforcement tool with advanced complexity metrics analysis.
✨ Key Features
Core Functionality
- Multi-metric Analysis: Cyclomatic complexity, cognitive complexity, maintainability index, and Halstead metrics
- Language Support: Full Python support with Radon and Complexipy runners
- Flexible Configuration: YAML-based configuration with defaults and language-specific settings
- Git Integration: Respects .gitignore patterns and custom ignore rules
CLI Commands
antipasta metrics: Analyze code metrics for files and directoriesantipasta stats: Generate statistical reports and summariesantipasta config generate: Interactive configuration creationantipasta config validate: Validate configuration filesantipasta config view: Display configuration in multiple formats
Developer Experience
- Multiple Output Formats: JSON, CSV, table, and plain text
- Rich Terminal UI: Color-coded output with severity indicators
- Comprehensive Testing: Extensive unit and integration test coverage
- Type Safety: Full mypy type checking with strict mode
📊 Metrics Supported
- Cyclomatic Complexity: Measures code paths and decision points
- Cognitive Complexity: Evaluates mental effort to understand code
- Maintainability Index: Combined score for code maintainability (0-100)
- Halstead Metrics: Volume, difficulty, effort, and time estimates
🚀 Installation
pip install antipasta📖 Documentation
See the README for detailed usage instructions and configuration examples.
🙏 Acknowledgments
Special thanks to all contributors and the open-source community for making this release possible!
Full Changelog: v0.0.1...v1.0.0
v0.0.1
Initial release to PyPI (manually published)