PyCon Pittsburgh. April 15-23, 2020.

Talk: LibCST - automated code refactoring made easy

Presented by:

Jimmy Lai

Description

You have a big codebase with lots of developers. Developers often copy-paste code and bad patterns spread around quickly. Code quality is out of control and deprecating things becomes lots of repetitive hard work. That’s a situation we used to have. We built LibCST as a foundation to make automated refactoring on a large codebase possible. LibCST is an open source Python concrete syntax tree parser that enables easy traversal and modification of source code.

In this talk, you’ll learn to use LibCST to build automated refactoring tools to fix code quality issues, deprecate libraries and build lint rules with auto-fix to help developers write better code.

More context is available in blog post https://fb.me/libcst-story and LibCST project https://git.io/Je5l2