Discover how to effectively scale Python linters in a 29-minute conference talk from EuroPython 2023. Learn to overcome challenges of using Black, Flake8, isort, and Mypy across multiple codebases, large projects, and with numerous developers. Explore solutions for slow linter analysis, trivial issue fixes, and distributed CI job complexities. Gain insights into a reusable linter framework that automates updates, maintains consistent configurations, optimizes runtime by analyzing only updated code, provides observability through logs and metrics, and implements auto-fixes for common issues. Understand how this scalable approach processes millions of code lines weekly, generating thousands of suggestions for hundreds of developers while saving significant development time through automated fixes.
Overview
Syllabus
Python Linters at Scale — Jimmy Lai
Taught by
EuroPython Conference