Skip to content

chore: add ruff format --check #5774

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rexledesma
Copy link
Contributor

@rexledesma rexledesma commented May 8, 2025

Depends on #5773.

Summary

Add a ruff format step for the Python files generated by contributors.

Main file to look at here is 4f14a31#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd.

Note that we ignore formating syntax_*.py and badsyntax_*.py files as they are specifically testing non standardized code formating.

Test Plan

RustPython on  rl/add-ruff-format via 🐍 v3.13.2 via 🦀 v1.86.0 
❯ uvx --from "ruff==0.11.8" ruff format --check
217 files already formatted

@rexledesma rexledesma force-pushed the rl/add-ruff-format branch from 6f0b586 to 9d8c46a Compare May 11, 2025 14:50
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.

3 participants