Skip to content

Commit a5bbbed

Browse files
committed
Add line-length to [tool.ruff.format] for explicit format config
Some ruff versions may not inherit line-length from [tool.ruff] into [tool.ruff.format]. Adding it explicitly ensures consistent formatting behavior across all ruff versions.
1 parent f8c4892 commit a5bbbed

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ target-version = "py39"
5050
select = ["E", "F", "W", "I", "N", "UP", "B", "C4"]
5151

5252
[tool.ruff.format]
53+
line-length = 120
5354
quote-style = "double"
5455
indent-style = "space"
5556

0 commit comments

Comments
 (0)