-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
bugSomething isn't workingSomething isn't workingisortRelated to import sortingRelated to import sorting
Description
ruff.toml
indent-width = 2
[lint]
select = ["I"]Original
# xx.py
from math import (
sin,
tan,
cos,
nan,
pi,
)
del sin, cos, tan, pi, nanRun
ruff check --fix xx.py
Except sorted and 2 spaces indent imports.
from math import (
cos,
nan,
pi,
sin,
tan,
)
del sin, cos, tan, pi, nanNow, there are extra 2 spaces before cos, nan, ...
from math import (
cos,
nan,
pi,
sin,
tan,
)
del sin, cos, tan, pi, nanruff: 0.4.5
python: 3.12.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingisortRelated to import sortingRelated to import sorting