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
Generated .pyi files include __pycache__, are not idempotent #477
Comments
Sweet, thanks for the issue. I think we can probably address all three. The last one may be a bit tricky as you say. Maybe inserting a comment at the end like |
Frankly a simple string match is probably enough, if janky |
@lidavidm Do you have a concrete example of
I'm not seeing |
Oh sorry, what I mean is it'll generate things like
inside the .pyi files if not run from a clean checkout |
I've noticed a few things about generated
.pyi
files:__pycache__
gets picked up and imported,The last one is probably harder to solve since it appears Protoletariat is not assuming it has full control of the
pyi
(understandable), or else it could overwrite instead of append.The text was updated successfully, but these errors were encountered: