Skip to content

Add ruff formatter #547

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

Merged
merged 6 commits into from
May 23, 2025
Merged

Add ruff formatter #547

merged 6 commits into from
May 23, 2025

Conversation

badmonster0
Copy link
Member

@badmonster0 badmonster0 commented May 23, 2025

google-labs-jules bot and others added 6 commits May 22, 2025 17:46
…n the `python/` and `examples/` directories.

A `ruff.toml` configuration file has been added to the root of the repository to ensure consistent formatting.
This change consolidates Python dependencies into a single top-level `pyproject.toml` file, removing the nested `pyproject.toml` in `python/cocoindex` and `ruff` from example-specific `requirements.txt` files.

Ruff is configured globally via `ruff.toml` and has been run to ensure consistent formatting across the codebase.
This change updates the `_test.yml` GitHub workflow to include a step that verifies Python code formatting using `ruff format --check`.

Ruff has also been added to the dependencies installed during the workflow.
@badmonster0 badmonster0 merged commit 5305e4c into main May 23, 2025
10 checks passed
@badmonster0 badmonster0 deleted the add-ruff-formatter branch May 23, 2025 00:30
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.

1 participant