Skip to content
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

Fix wrong indent in utils/check_if_new_model_added.py #30456

Merged
merged 1 commit into from
Apr 24, 2024
Merged

Conversation

ydshieh
Copy link
Collaborator

@ydshieh ydshieh commented Apr 24, 2024

What does this PR do?

See comment in the change

@ydshieh ydshieh changed the title Fix wrong indent Fix wrong indent in utils/check_if_new_model_added.py Apr 24, 2024
Comment on lines +94 to +95
# It's unlikely we have 2 new modeling files in a pull request.
break
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we break the loop when we find a new modeling file. Previously, we break the loop after the first step (no matter if we find new modeling file).

@ydshieh ydshieh requested a review from ArthurZucker April 24, 2024 14:55
@ydshieh ydshieh mentioned this pull request Apr 24, 2024
5 tasks
@ydshieh ydshieh merged commit d0d430f into main Apr 24, 2024
11 checks passed
@ydshieh ydshieh deleted the fix_indent branch April 24, 2024 15:44
itazap pushed a commit that referenced this pull request May 14, 2024
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.

2 participants