Skip to content

fix(subplot.py): make lintable

Lars Wirzenius requested to merge lintclean into main

While this module is intended to be inserted into the Subplot Python template, and it works, it's not cleanly lintable, as the linters don't understand about the template. Fix this by retrieving any symbols used from the template via the globals() dict.

(runcmd.py still has the same issue, but it's going to be fixed as part of #83 (closed) so not touching it in this MR.)

Closes: #91 (closed)

Merge request reports