Bartosz Sławecki

Results 110 comments of Bartosz Sławecki

I think it is technically possible to retrieve these metadata from Jinja2 itself as it renders files, but it isn't quite convenient programmatically, because it has no real use in...

> Have you tried this? [stackoverflow.com/a/40346872/1468388](https://stackoverflow.com/a/40346872/1468388) This is what I was referring to. But instead, I've built an extension that sets `_origin` in my context. Anyway, I still think setting...

Especially since in the raw template filename there is this `/tmp//` prefix, which could ideally be stripped.

> You can also finish the first generation, commit everything, then run `copier update`, change your answer for this question and amend the previous commit. While this is a working...

Thank you for recommending the right tool. Mind referencing it in the documentation, so others can find it quickly? Maybe in the FAQ? A proper annotation can be made to...

@yajo Pinging as I don't know if you were notified on this.

I want to see [autorefine](https://github.com/bswck/autorefine#readme) in the action of semi-auto-resolving this, as soon as it's ready. I want to get your code-reviewer feedback afterwards.

> Hey @bswck ! Thanks for this nice project > > Is it possible to propose a batch of small pull requests in order to fix specific mypy errors or...

> > `typing_extensions` has a special stub in typeshed and is seen by mypy even if not installed as a direct/transitive dependency, so there's no need to change anything in...