We _might_ get away with just

    PT_TYPE = {{ pillar['pt_type']|python }}

but this is not worth a testing cycle.  Maybe leave a comment there to do this change the next time we change this file for anything else.

(See below for this `|python` filter.)