YoVDO

Automated Refactoring Large Python Codebases

Offered By: EuroPython Conference via YouTube

Tags

EuroPython Courses Python Courses GitHub Courses Code Quality Courses Type Annotations Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover how to automate refactoring of large Python codebases in this 28-minute conference talk from EuroPython 2022. Learn about Carta's approach to adopting best practices like Black formatting and type annotation in multi-million-line codebases. Explore the automated refactoring pipeline that uses LibCST and MonkeyType to modify Python syntax trees and GitPython/PyGithub to manage pull requests. Gain insights into dividing changes into small, reviewable pull requests and assigning appropriate code owners. See how this method led to the conversion of a large codebase to Black format and the addition of type annotations to over 50,000 functions. Acquire knowledge on using LibCST to build automated refactoring tools for general Python code quality issues at scale and leveraging GitPython/PyGithub to automate the code review process.

Syllabus

Automated Refactoring Large Python Codebases - presented by Jimmy Lai


Taught by

EuroPython Conference

Related Courses

A Brief History of Data Storage
EuroPython Conference via YouTube
Breaking the Stereotype - Evolution & Persistence of Gender Bias in Tech
EuroPython Conference via YouTube
We Can Get More from Spatial, GIS, and Public Domain Datasets
EuroPython Conference via YouTube
Using NLP to Detect Knots in Protein Structures
EuroPython Conference via YouTube
The Challenges of Doing Infra-As-Code Without "The Cloud"
EuroPython Conference via YouTube