-
-
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
[Feature]: Run ruff formatter on codebase #15
Labels
enhancement
New feature or request
Comments
See more at https://github.com/astral-sh/ruff Could also add the GitHub workflow https://github.com/chartboost/ruff-action to send warnings on merges of new code that has not been formatted. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem?
Code quality improvements.
Describe the solution you'd like
Run ruff formatter on all *.py files. Also should set the target Python version for the code repository in
pyproject.toml
(e.g. 3.10?) so when various code checking and formatting tools run they know what syntax is valid.Describe alternatives you've considered
Ruff is starting to replace usage of the long-standing black8 and brunette formatters.
Additional context
Recommend adding
.pre-commit-config.yaml
in project root with the following onceruff
has been run, so those that use pre-commit will ensure that new code automatically is formatted to the project's standards as well.The text was updated successfully, but these errors were encountered: