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

Update update_markdown_code_blocks.py #110

Merged
merged 3 commits into from
Jun 18, 2024
Merged

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Jun 18, 2024

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improved error handling in the code formatting script.

πŸ“Š Key Changes

  • Updated the subprocess command in the format_code_with_ruff function to continue on error.

🎯 Purpose & Impact

  • Enhanced Robustness: πŸ› οΈ The script will now proceed even if an error occurs during the ruff check, leading to more resilient execution.
  • User Experience: 😊 Users will experience fewer interruptions during the code formatting process, making the workflow smoother and more efficient.

@glenn-jocher glenn-jocher merged commit 16887eb into main Jun 18, 2024
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch June 18, 2024 22:43
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