-
Notifications
You must be signed in to change notification settings - Fork 178
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
Add "format code" support for Python #180
base: main
Are you sure you want to change the base?
Add "format code" support for Python #180
Conversation
@saiyalamarty is attempting to deploy a commit to the Raycast Team on Vercel. A member of the Team first needs to authorize it. |
const ruffConfig = { | ||
preview: false, | ||
builtins: [], | ||
"target-version": "py312", | ||
"line-length": 80, | ||
"indent-width": 4, | ||
format: { | ||
"indent-style": "space", | ||
"quote-style": "double", | ||
"skip-magic-trailing-comma": false, | ||
"line-ending": "auto", | ||
}, | ||
}; |
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.
You can use Workspace.defaultSettings()
to get the default settings
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.
Thank you for the suggestion @MichaReiser! Addressed.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Adding support for formatting Python code using Ruff.
Ruff is a rust based fast python formatter. They also have a wasm build of the same. Built by the Astral team (Charlie Marsh)
ruff repo: https://github.com/astral-sh/ruff
Note: