Skip to content

Conversation

sgugger
Copy link
Collaborator

@sgugger sgugger commented Jan 18, 2022

What does this PR do?

As point out by @NielsRogge, when someone has an empty subfolder with just pycache in them (after checking out a branch for instance), the new check in check_inits will fail. This PR addresses that.

@sgugger sgugger requested a review from LysandreJik January 18, 2022 14:35
Copy link
Member

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice try/catch!

@NielsRogge
Copy link
Contributor

Thanks for fixing!

@sgugger sgugger merged commit 84c60a7 into master Jan 18, 2022
@sgugger sgugger deleted the ignore_empty_folders branch January 18, 2022 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants