-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Summary
Current docs have the example for setting import-heading as:
[lint.isort]
future = "Future imports"
standard-library = "Standard library imports"
third-party = "Third party imports"
first-party = "First party imports"
local-folder = "Local folder imports"
But it requires a dict (and actually specifying the import-heading) as:
[lint.isort]
import-heading = {
future = "Future imports",
standard-library = "Standard library imports",
third-party = "Third party imports",
first-party = "First party imports",
local-folder = "Local folder imports",
}
for ruff.toml
or
[tool.ruff.lint.isort]
import-heading = {
future = "Future imports",
standard-library = "Standard library imports",
third-party = "Third party imports",
first-party = "First party imports",
local-folder = "Local folder imports",
}
for pyproject.toml
Version
0.15.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation