Writing Custom Detectors To be written, but refer to the following scripts for now: examples/detector_template.py example_ast_detector Additionally, check out the detectors in regast/detectors.