diff --git a/ai-refactor-python/README.md b/ai-refactor-python/README.md new file mode 100644 index 0000000000..8409f10544 --- /dev/null +++ b/ai-refactor-python/README.md @@ -0,0 +1,7 @@ +# How to Refactor Python Code With an AI Agent + +This folder provides the sample project for the Real Python tutorial [How to Refactor Python Code With an AI Agent](https://realpython.com/ai-refactor-python/). + +Unzip the `ai-refactor-python-starter.zip` archive to get the starter code: the RP To-Do app from [Build a Command-Line To-Do App With Python and Typer](https://realpython.com/python-typer-cli/) with a test suite that pins its current behavior, ready for you to refactor with an AI agent. + +Unzip the `ai-refactor-python-final.zip` archive to get the finished project: the refactoring plan in `REFACTOR.md`, the Ruff, mypy, and coverage settings in `pyproject.toml`, and the code after applying every refactoring in the plan. diff --git a/ai-refactor-python/ai-refactor-python-final.zip b/ai-refactor-python/ai-refactor-python-final.zip new file mode 100644 index 0000000000..ea2ba033fb Binary files /dev/null and b/ai-refactor-python/ai-refactor-python-final.zip differ diff --git a/ai-refactor-python/ai-refactor-python-starter.zip b/ai-refactor-python/ai-refactor-python-starter.zip new file mode 100644 index 0000000000..efb3d01f3f Binary files /dev/null and b/ai-refactor-python/ai-refactor-python-starter.zip differ