Overview
Abstract syntax tree based plugins are the most popular type of plugins in pylint. They are used over 90% of the time.
Requirements
- Python 3.6 installed and running
- Text editor or IDE of your choice – you must know how to use them !
- virtualenv (virtualenv-wrapper) tools installed and running so you can configure a working environment for your pylint plugins
- pylint >= 2.0 installed inside the virtualenv
- Medium level or experienced developers who work with Python (and/or Django) and/or QA engineers who work with the project source code directly
Course Outline
- How pylint works
- Implementing a plugin skeleton – hands-on exercise
- Invoking the plugin – hands-on exercise
- Parsing Abstract Syntax Trees in Python – hands-on exercise
- Putting together a minimalistic plugin – hands-on exercise
- Formulating (your) ideas into actionable goals – what sort of plugin would you like to create (or work from pre-existing scenarios)
- Writing code and code review – more hands-on exercise