pyastgrep and custom linting
Briefly

Pyastgrep is a tool that enables users to search for specific Python syntax elements using XPath, serving as a rewrite of astpath.
The tool can now function both as a library and a command line utility after code layer separation, offering potential for linting activities and enforcing coding conventions.
Examples of rules include enforcing 'keyword only' boolean arguments, coding conventions like avoiding single-letter variables in loops, and Django-specific rules like matching tag names to template files for consistency.
Read at Luke Plant's home page
[
|
]