-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Does not delete all __pycache__
directories
#108
Comments
Do you have any good resources I could read about python project structures? For example is it possible to "nest" python projects, or are all directories underneath considered part of the same "project"? |
Not really. In a perfect world, this would all be documented at https://packaging.python.org, but that site is still lacking in many respects after many years. Note that
I believe best practice is against trying to nest projects, but there are various ways to abuse some of the tooling to achieve nested projects. However, I don't think I've ever actually seen nested Python projects, and you should be fine with not trying to support such a (mis)feature. Footnotes
|
It seems that, currently,
kondo
only deletes__pycache__
directories located in the root of a Python project, but this is not the only place they can occur (and often there isn't even one in the root). A__pycache__
directory can be created in any directory containing a.py
file, and.py
files can be organized in any arbitrary assortment of directories with any depth.The text was updated successfully, but these errors were encountered: