-
Notifications
You must be signed in to change notification settings - Fork 437
[CI] Add ruff checks
#2928
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
[CI] Add ruff checks
#2928
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds ruff formatting and linting checks to the CI pipeline and applies automatic formatting fixes across the codebase to comply with ruff's style rules.
Key changes:
- Added two new GitHub Actions workflows for checking Python formatting and linting with ruff v0.14.0
- Applied automatic formatting fixes including: reformatted assert statements, added spaces around operators, broke long lines, reformatted type hints, and added trailing commas
Reviewed Changes
Copilot reviewed 241 out of 243 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/02-check-python-formatting.yml |
New workflow to check Python formatting with ruff |
.github/workflows/03-check-python-linting.yml |
New workflow to check Python linting with ruff |
sdk/tests/**/*.py |
Reformatted assert statements to use parentheses for multi-line messages |
sdk/agenta/sdk/**/*.py |
Applied ruff formatting including line breaks and operator spacing |
sdk/agenta/client/backend/types/**/*.py |
Reformatted pydantic model configs and type annotations |
sdk/agenta/client/backend/core/**/*.py |
Reformatted function signatures and type casts |
sdk/agenta/client/backend/**/*.py |
Added trailing commas to function signatures |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.