GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — materials/ai-refactor-python at master · realpython/materials

Expand file tree

/

ai-refactor-python

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

ai-refactor-python

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 
ai-refactor-python-final.zip
ai-refactor-python-final.zip
 
 
ai-refactor-python-starter.zip
ai-refactor-python-starter.zip
 
 

README.md

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.

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 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.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.