{
 "schema_version": 1,
 "generated": "2026-11-01",
 "id": "aider-ai-aider--lint-and-test-automatically-after-aider-edits",
 "repo": "Aider-AI/aider",
 "repo_url": "https://github.com/Aider-AI/aider",
 "repo_slug": "aider-ai-aider",
 "title": "Lint and test automatically after every Aider edit",
 "page_title": "How to lint and test automatically after every Aider edit with Aider",
 "summary": "Let Aider run your linters and tests after each change and fix what breaks.",
 "who": "A developer who wants model edits checked by their own test suite.",
 "problem": "Model edits can break tests unnoticed.",
 "outcome": "Changes that are linted and tested as they are made.",
 "steps": [
  "Install Aider with `python -m pip install aider-install` then `aider-install`",
  "Open the Aider docs page on linting and testing to set your lint and test commands",
  "Start Aider in your repo and request a change",
  "Let Aider fix problems found by your linters and test suites",
  "Review the resulting commits"
 ],
 "agent_prompt": "Using Aider-AI/aider, configure it to lint and test automatically after each change in <my repo> following the aider linting and testing docs, then make <change> and show me the commits.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The exact lint and test flags live in the Aider docs, not the README.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Python and pip",
  "An API key for the model you pick, such as DeepSeek or OpenAI, or a local model",
  "A git repository for your project"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/aider-ai-aider/lint-and-test-automatically-after-aider-edits/",
 "md": "https://dedupedai.com/use-cases/aider-ai-aider/lint-and-test-automatically-after-aider-edits/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/aider-ai-aider--lint-and-test-automatically-after-aider-edits.json",
 "api_version": "v1"
}
