Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

12 Years of Pylint - Or How I Learned to Stop Worrying About Bugs

EuroPython Conference via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a comprehensive overview of Pylint, one of the oldest static analysis tools for Python, in this 36-minute EuroPython Conference talk. Delve into Pylint's capabilities as both a style checker enforcing PEP 8 rules and a powerful code checker. Learn how it detects simple bugs like unused variables and imports, as well as more complex issues such as invalid function arguments and incomplete special method implementations. Examine the tool's inference engine, understanding of logical program flow, and type hinting techniques, including PEP 484 support. Discover how Pylint's abstract syntax tree analysis, node transforms, and custom inference rules contribute to its effectiveness. Gain insights into Pylint's pattern matching over AST nodes, visitor pattern implementation, and abstract interpretation. Explore additional features like the Python 3 porting checker and compare Pylint with similar tools. Conclude with a glimpse into Pylint's future developments and how it can help eliminate bugs in your Python codebase.

Syllabus

Intro
Pylinting ugly code goes like this
Pylint can detect real bugs too
12 years of what?
How pylint works?
Astroid nodes
Inference example #2
Node transforms
Inference custom rules
Astroid capabilities
Pylint - patterns over AST nodes
Pylint - visitor pattern example
Pylint - abstract interpretation
Pylint - checkers
Pylint - extra features
Pylint - Python 3 porting checker
Similar tools: Pychecker
Future Pylint

Taught by

EuroPython Conference

Reviews

Start your review of 12 Years of Pylint - Or How I Learned to Stop Worrying About Bugs

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.