Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature suggestion: extract Python code only #39

Open
katrinafyi opened this issue Sep 29, 2024 · 1 comment · May be fixed by #40
Open

feature suggestion: extract Python code only #39

katrinafyi opened this issue Sep 29, 2024 · 1 comment · May be fixed by #40

Comments

@katrinafyi
Copy link

katrinafyi commented Sep 29, 2024

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.

@nedbat
Copy link
Owner

nedbat commented Sep 29, 2024

Interesting idea. That doesn't exist yet.

@katrinafyi katrinafyi linked a pull request Sep 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants