Ultralytics Actions: Auto-Formatting for Python and Markdown - Release v0.0.2
We are thrilled to announce the release of Ultralytics Actions - v0.0.2. This update builds on our initial release, introducing new features and improvements to enhance code quality and maintainability across Ultralytics Python projects.
Features in this Release:
1. Enhanced Automated Formatting
- Prettier Integration: Added Prettier to handle formatting for JavaScript and JSON files, expanding our coverage beyond Python and Markdown.
- Advanced Configuration Options: Users can now customize formatting rules for Ruff, mdformat, and Prettier directly within their repository.
2. Improved Link Checking
- Advanced Lychee Options: Enhanced Lychee configuration to allow for custom exclusion lists and retry mechanisms, improving the accuracy of broken link reports.
3. Comprehensive Code Quality Checks
- Flake8 Integration: Added Flake8 for advanced linting capabilities, providing more detailed code quality checks.
- Black Formatting: Integrated Black, a powerful code formatter for Python, ensuring consistent code style across all projects.
4. Better Seamless Integration
- Pull Request Enhancements: Improved pull request integration to include detailed summaries of formatting changes and code quality issues, making it easier for reviewers to understand and address them.
- Branch-Specific Triggers: Actions can now be configured to trigger on specific branches, allowing for more flexible workflows.
5. User Experience Improvements
- Detailed Documentation: Updated the setup instructions and usage guides to be more comprehensive and user-friendly, helping teams get started quickly.
- Verbose Logging: Added verbose logging options to provide more insight into the actions' operations and facilitate easier debugging.
Future Scope:
We are committed to continuously improving Ultralytics Actions. Future updates may include:
- Support for Additional Languages: Extending formatting and linting support to languages such as Go, Rust, and TypeScript.
- Advanced Code Analysis: Integrating tools for static code analysis to detect potential bugs and vulnerabilities early.
- User-Friendly Dashboards: Developing dashboards to visualize code quality metrics and track improvements over time.
Acknowledgments:
A heartfelt thank you to all the contributors and community members who have provided invaluable feedback and support. Your contributions drive the innovation and excellence of Ultralytics projects. We look forward to your continued engagement and collaboration.
Getting Started:
To get started with Ultralytics Actions v0.0.2, visit our repository and follow the setup instructions. Your feedback and contributions are highly appreciated!
What's Changed
- Add Marketplace badge by @glenn-jocher in #45
- Fix Marketplace badge by @glenn-jocher in #46
- Update Ultralytics Actions with Lychee and GitHub Token by @pderrenger in #47
- Update action.yml to ignore model files by @glenn-jocher in #48
- Update action.yml spelling skip list by @glenn-jocher in #49
- Update action.yml with find-exec by @glenn-jocher in #50
- Exclude translat from spelling by @glenn-jocher in #52
- Add Prettier formatting for markdown and YAML files by @glenn-jocher in #53
- Add PR Summary step by @glenn-jocher in #55
- Fix on PR close by @glenn-jocher in #56
- Update action.yml to fix 'and' by @glenn-jocher in #57
- Update action.yml with PR summary fix by @glenn-jocher in #58
- Update README.md by @glenn-jocher in #59
- Update README with PR Summary by @glenn-jocher in #60
- Update README.md with OpenAI link by @glenn-jocher in #61
- Explicit codespell --write-changes by @glenn-jocher in #63
- Link checks SSL insecure robustness by @glenn-jocher in #65
- Utilize 50% context window by @glenn-jocher in #66
- Update action.yml for Prettier on YAMLs by @glenn-jocher in #68
- Update PR summary for
review_requested
by @glenn-jocher in #70 - Bump lycheeverse/lychee-action from 1.9.0 to 1.9.3 by @dependabot in #71
- Add Discord badge by @glenn-jocher in #72
- Update to Azure API
2023-12-01-preview
by @glenn-jocher in #73 - Fix model to
gpt-4-0125-preview
by @glenn-jocher in #74 - Update API version to "2024-02-15-preview" by @glenn-jocher in #75
- Update Ruff to sort imports by @glenn-jocher in #76
- Sort imports with Ruff and iSort by @glenn-jocher in #77
- Create merge-main-into-prs.yml by @glenn-jocher in #78
- Delete .github/workflows/merge-main-into-prs.yml by @glenn-jocher in #79
- Add Typos to spelling by @glenn-jocher in #80
- Revert "Add Typos to spelling" by @glenn-jocher in #81
- Bump lycheeverse/lychee-action from 1.9.3 to 1.10.0 by @dependabot in #82
- Update Ultralytics YouTube URL by @glenn-jocher in #83
- Update OPENAI_AZURE_API_VERSION to "2024-04-01-preview" by @glenn-jocher in #84
- Update action.yml to
gpt-4o-2024-05-13
by @glenn-jocher in #85 - Update Azure OpenAI API version to latest by @fcakyon in #86
- Update action.yml to cache pip dependencies by @glenn-jocher in #87
- Update action.yml by @glenn-jocher in #88
- Update action.yml by @glenn-jocher in #90
- Fail actions on Ruff failure by @glenn-jocher in #91
- Revert "Fail actions on Ruff failure" by @glenn-jocher in #93
- Add Markdown Python code reformatting by @glenn-jocher in #94
- Update license line in Python files by @UltralyticsAssistant in #95
- Update format.yml to pull_request_target by @glenn-jocher in #97
- Update action.yml by @glenn-jocher in #101
- Reverse Ruff check and fix order by @glenn-jocher in #102
- Ruff --select=E4,E7,E9,F,I by @glenn-jocher in #104
- Fix --extend-select I by @glenn-jocher in #105
- Code Refactor
ruff check --fix --extend-select I
by @glenn-jocher in #106
New Contributors
- @pderrenger made their first contribution in #47
- @dependabot made their first contribution in #71
- @fcakyon made their first contribution in #86
Full Changelog: v0.0.1...v0.0.2