aider --lint --test-cmd 'pytest'

Category: AI Agents & MCP

aider --lint --test-cmd 'pytest'

Enable aider's lint and test loop for autonomous fixing

aider will run your test suite after each edit and automatically attempt to fix failures — creating a tight feedback loop. --lint enables linting checks too. The agent iterates until tests pass or it gives up. Very powerful for TDD workflows.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.