cog icon indicating copy to clipboard operation
cog copied to clipboard

feature suggestion: extract Python code only

Open katrinafyi opened this issue 1 year ago • 1 comments

Hello, thanks for the useful project! I'm interested in applying a type-checker to the generator's Python code.

To do this, is there a mode which emits a Python file containing the prologue and every code block in the template file? It does not have to be anything fancy, a simple concatenation will suffice.

I can prepare a patch if you'd like.

katrinafyi avatar Sep 29 '24 01:09 katrinafyi

Interesting idea. That doesn't exist yet.

nedbat avatar Sep 29 '24 01:09 nedbat