-
Notifications
You must be signed in to change notification settings - Fork 167
β¨ feat(cli): et clean #980
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
Conversation
44cf60e
to
2ab52b6
Compare
One thing I do delete every once in a while is the
We could use @raxhvl, @spencer-tb what do you think? |
Definitely agree! Starting fresh without having to reclone for me would the ideal scenario for I think we should delete I'm happy with LGTM other than that! Thanks for implementing this @raxhvl - I've wanted this feature for while |
Would we also need a |
π This would be wonderful tbh. |
Up for this, but I'd add it to |
How does this look for default vs items_to_remove = [".pytest_cache", ".mypy_cache", "fixtures", "build", "site", "cached_downloads", ".pyspelling_en.dict"]
if all:
# Delete __pycache__ directories using glob
pycache_dirs = glob.glob("**/__pycache__", recursive=True)
items_to_remove.extend(pycache_dirs)
# Environment
items_to_remove.extend([".tox", ".venv"]) |
Looks good, only suggestion: I would prefer to delete I hope I don't need to use |
@raxhvl @spencer-tb one more location that could be helpful to add to |
Is it this dir |
31d5443
to
495d266
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice! Thanks for adding this @raxhvl! Few minor comments below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! As discussed, feel free to refactor the click CLI docs to use #985.
Done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @raxhvl! Nearly there π two minor comments below.
Co-authored-by: danceratopz <[email protected]>
Co-authored-by: danceratopz <[email protected]>
Here is the updated help (truncated):
Docs: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for this @raxhvl. This will very useful to regular and new contributors alike!
ποΈ Description
Introduces
uv run et clean
.π Related Issues
closes #976.
β Checklist
mkdocs serve
locally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.