-
Notifications
You must be signed in to change notification settings - Fork 29
Replace black with ruff for code formatting #119
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -39,9 +39,6 @@ include = ["temba_client"] | |||||
| requires = ["hatchling"] | ||||||
| build-backend = "hatchling.build" | ||||||
|
|
||||||
| [tool.black] | ||||||
| line-length = 119 | ||||||
|
|
||||||
| [tool.ruff] | ||||||
| line-length = 120 | ||||||
| fix = true | ||||||
|
||||||
| fix = true | |
| fix = false |
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.
[tool.ruff]is configured withline-length = 120, butisortis still configured withline_length = 119(see the[tool.isort]section further down in this file). Now that formatting is handled by Ruff, these mismatched line-length settings can lead to inconsistent wrapping behavior across tools; it’s best to align on a single value (e.g., set both to 120, or keep both at 119 to preserve existing formatting).