-
Notifications
You must be signed in to change notification settings - Fork 10
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
Use ruff and a code formatter #145
Comments
FWIW, and for inspiration, here is my workflow to auto-format Python code with a mix of |
Hey, I can handle this one. I have this sample configuration with ruff, pre-commit and Github Actions:
The beauty of this setup is fully automated and requires minimal effort to change rules / settings. I'm planning to adapt that in this repo too, if that sounds okay. |
You're very welcome to contribute if you want but keep in mind the following:
|
black is the obvious choice but I tend to dislike it, especially for CLI code, which tends to take too much vertical space when formatted with black.
The tools should be integrated with tox and github actions.
The text was updated successfully, but these errors were encountered: