-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
isortRelated to import sortingRelated to import sorting
Description
I remove isort rules in my ruff configuration to use isort directly since it broke my config.
I use 2 line-length, 110 for black and 79 for isort. I found it easier to read my import like that.
[tool.black]
line-length = 110
[tool.isort]
line_length = 79Based on the documentation, ruff use only a main line-length configuration to govern them all. I would really appreciate the ability to configure line-length per linter as:
isort
line-length
The line length to use when enforcing I001 violations.
Default value: Will use the tool.ruff.line-length configuration if not specified
Type: int
Example usage:
[tool.ruff.isort]
# Allow lines to be as long as 79 characters.
line-length = 79alexrudd2, JonathanPlasse, fracaron, KerberosMorphy, alex007sirois and 29 more
Metadata
Metadata
Assignees
Labels
isortRelated to import sortingRelated to import sorting