π aider-lint-fixer v1.7.0
π― Strategic Pre-Flight Check System
This release introduces a revolutionary strategic-first development workflow that transforms how developers approach codebase improvements.
β¨ Added
- Strategic Pre-Flight Check: Analyzes codebase chaos and blocks execution until strategic issues are resolved
- Aider-Powered Recommendations: Generates specific aider.chat commands for intelligent cleanup
- Chaos Level Detection: Automatically categorizes codebases as CLEAN, MESSY, CHAOTIC, or DISASTER
- Smart Blocking System: Prevents wasted effort on chaotic codebases with actionable guidance
- New CLI Options:
--skip-strategic-check,--force-strategic-recheck,--bypass-strategic-check - Comprehensive Test Suite: Real-world chaotic codebase examples for validation
π§ Enhanced
- Ansible Error Classification: Improved from 0% to 80% fixability rate for YAML formatting errors
- Pattern Matching: Enhanced recognition of real-world error patterns
- Error Analysis: Better context-aware classification for production vs experimental code
- User Experience: Clear priority-based recommendations with time estimates
π Impact
- Workflow Transformation: Strategic cleanup before tactical lint fixes
- Time Savings: Prevents fixing lint errors in chaotic, unorganized code
- Code Quality: Results in genuinely improved, maintainable codebases
- AI Integration: Leverages aider.chat for intelligent project organization
π Installation
Quick Installation
# Basic installation
pip install aider-lint-fixer==1.7.0
# With learning features (recommended)
pip install aider-lint-fixer[learning]==1.7.0
# All features
pip install aider-lint-fixer[all]==1.7.0
# Or manual installation
git clone https://github.com/tosin2013/aider-lint-fixer.git
cd aider-lint-fixer
python3 -m venv venv && source venv/bin/activate
pip3 install -e .Install Linters
# Python linters
pip3 install flake8==7.3.0 pylint==3.3.7
# Ansible linters
pip3 install ansible-lint==25.6.1
# Node.js linters
npm install -g eslint@8.57.1 jshint@2.13.6 prettier@3.6.2π Documentation
π§ Supported Versions
| Linter | Tested Version | Supported Versions |
|---|---|---|
| ansible-lint | 25.6.1 | 25.6.1, 25.6.x, 25.x |
| flake8 | 7.3.0 | 7.3.0, 7.2.x, 7.1.x, 7.0.x, 6.x |
| pylint | 3.3.7 | 3.3.7, 3.3.x, 3.2.x, 3.1.x, 3.0.x, 2.x |
| ESLint | 8.57.1 | 8.57.1, 8.57.x, 8.5.x, 8.x, 7.x |
| JSHint | 2.13.6 | 2.13.6, 2.13.x, 2.1.x, 2.x |
| Prettier | 3.6.2 | 3.6.2, 3.6.x, 3.x, 2.x |