Skip to content

Comments

rename safe_rmtree and ensure remove_directory is used instead of shutil.rmtree#5510

Merged
finswimmer merged 1 commit intopython-poetry:masterfrom
abn:safe-rmtree
Apr 30, 2022
Merged

rename safe_rmtree and ensure remove_directory is used instead of shutil.rmtree#5510
finswimmer merged 1 commit intopython-poetry:masterfrom
abn:safe-rmtree

Conversation

@abn
Copy link
Member

@abn abn commented Apr 28, 2022

This change renames safe_rmtree into a more appropriate name with relevant arguments. We ensure that the force behaviour is opt-in and not the default to avoid ambiguity.

This combines the work done in c12d86b7 and #520.

@abn abn requested a review from a team April 28, 2022 01:49
@abn abn changed the title ensure safe_rmtree is used instead of shutil.rmtree rename safe_rmtree and ensure remove_directory is used instead of shutil.rmtree Apr 28, 2022
@abn abn mentioned this pull request Apr 29, 2022
2 tasks
This change renames `safe_rmtree` into a more appropriate name with
relevant arguments. We ensure that the force behaviour is opt-in
and not the default to avoid ambiguity.
@abn abn requested a review from finswimmer April 29, 2022 22:45
@finswimmer finswimmer merged commit 6721ebe into python-poetry:master Apr 30, 2022
@abn abn deleted the safe-rmtree branch April 30, 2022 10:39
@kasteph kasteph mentioned this pull request May 30, 2022
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants